--- xds.h 2001/07/02 14:03:39 1.9
+++ xds.h 2001/07/02 14:05:39 1.10
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/xds/Attic/xds.h,v $
- $Revision: 1.9 $
+ $Revision: 1.10 $
Copyright (c) 2001 by Cable & Wireless Deutschland.
@@ -23,10 +23,10 @@
enum
{
- XDS_OK = 0,
- XDS_ERR_NO_MEM = -1,
- XDS_ERR_OVERFLOW = -2,
- XDS_ERR_INVALID_ARG = -3,
+ XDS_OK = 0,
+ XDS_ERR_NO_MEM = -1,
+ XDS_ERR_OVERFLOW = -2,
+ XDS_ERR_INVALID_ARG = -3,
XDS_ERR_TYPE_MISMATCH = -4
};
typedef enum { XDS_ENCODE, XDS_DECODE } xds_mode_t;
@@ -47,7 +47,7 @@
int xds_register(xds_t* xds, const char* name, xds_engine_t engine, void* engine_context);
int xds_unregister(xds_t* xds, const char* name);
-int xds_setbuffer(xds_t* xds, xds_scope_t flag, void* buffer, size_t buffer_size);
+int xds_setbuffer(xds_t* xds, xds_scope_t flag, void* buffer, size_t buffer_size);
int xds_getbuffer(xds_t* xds, xds_scope_t flag, void** buffer, size_t* buffer_size);
int xds_encode(xds_t* xds, const char* fmt, ...);
|