OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/xds_engine_xdr.c versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/xds_engine_xdr.c 1.3 -> 1.4

--- xds_engine_xdr.c     2001/08/09 20:59:05     1.3
+++ xds_engine_xdr.c     2001/08/09 21:05:18     1.4
@@ -31,6 +31,10 @@
 
 #include "xds.h"
 
+/*
+ * Encode/decode signed 32-bit integer values.
+ */
+
 int xdr_encode_int32(xds_t *xds, void *engine_context,
                      void *buffer, size_t buffer_size,
                      size_t *used_buffer_size, va_list *args)
@@ -95,6 +99,10 @@
     return XDS_OK;
 }
 
+/*
+ * Encode/decode unsigned 32-bit integer values.
+ */
+
 int xdr_encode_uint32(xds_t *xds, void *engine_context,
                       void *buffer, size_t buffer_size,
                       size_t *used_buffer_size, va_list *args)
@@ -138,6 +146,10 @@
 
 #ifdef XDS_HAVE_64_BIT_SUPPORT
 
+/*
+ * Encode/decode signed 64-bit integer values.
+ */
+
 int xdr_encode_int64(xds_t *xds, void *engine_context,
                      void *buffer, size_t buffer_size,
                      size_t *used_buffer_size, va_list *args)
@@ -222,6 +234,10 @@
     return XDS_OK;
 }
 
+/*
+ * Encode/decode unsigned 64-bit integer values.
+ */
+
 int xdr_encode_uint64(xds_t *xds, void *engine_context,
                       void *buffer, size_t buffer_size,
                       size_t *used_buffer_size, va_list *args)
@@ -277,6 +293,10 @@
 
 #endif /* XDS_HAVE_64_BIT_SUPPORT */
 
+/*
+ * Encode/decode double-precision floating point values.
+ */
+
 int xdr_encode_double(xds_t *xds, void *engine_context,
                       void *buffer, size_t buffer_size,
                       size_t *used_buffer_size, va_list *args)
@@ -293,6 +313,10 @@
     return -1;
 }
 
+/*
+ * Encode/decode NUL-terminated character strings.
+ */
+
 int xdr_encode_string(xds_t *xds, void *engine_context,
                       void *buffer, size_t buffer_size,
                       size_t *used_buffer_size, va_list *args)
@@ -370,6 +394,10 @@
     return XDS_OK;
 }
 
+/*
+ * Encode/decode octet streams.
+ */
+
 int xdr_encode_octetstream(xds_t *xds, void *engine_context,
                            void *buffer, size_t buffer_size,
                            size_t *used_buffer_size, va_list *args)

CVSTrac 2.0.1