OSSP CVS Repository

ossp - Check-in [4145]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4145
Date: 2001-Jul-04 18:05:06 (local)
2001-Jul-04 16:05:06 (UTC)
User:simons
Branch:
Comment: This is our internal header which defines all the data structures that are opaque for the application developer.
Tickets:
Inspections:
Files:
ossp-pkg/xds/internal.h      added-> 1.1

ossp-pkg/xds/internal.h -> 1.1

*** /dev/null    Mon May  6 17:22:11 2024
--- -    Mon May  6 17:29:58 2024
***************
*** 0 ****
--- 1,44 ----
+ /*
+    XDS - OSSP Extensible Data Serialization Library
+    Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
+    Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+ 
+    This file is part of OSSP XDS, an extensible data serialization
+    library which can be found at http://www.ossp.com/pkg/xds/.
+ 
+    Permission to use, copy, modify, and distribute this software for
+    any purpose with or without fee is hereby granted, provided that
+    the above copyright notice and this permission notice appear in all
+    copies.
+ 
+    THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+    IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+    OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+ 
+    internal.h: internal C API
+ */
+ 
+ #ifndef __INTERNAL_H__
+ #define __INTERNAL_H__
+ 
+ #include "xds.h"
+ 
+ struct xds_context
+     {
+     xds_mode_t mode;           /* XDS_ENCODE or XDS_DECODE */
+ 
+     char*  buffer;             /* may be NULL if unallocated */
+     size_t buffer_size;                /* physical size of the buffer */
+     size_t buffer_len;         /* length of buffer's content */
+     };
+ 
+ #endif /* !defined(__INTERNAL_H__) */

CVSTrac 2.0.1