Check-in Number:
|
603 | |
Date: |
2001-Aug-02 19:24:49 (local)
2001-Aug-02 17:24:49 (UTC) |
User: | simons |
Branch: | |
Comment: |
Implemented XML engines for octet streams. The base64-encoding code
still needs some work, though: The test with an empty string currently
fails. Also we had to do some weird work-arounds in the decoding
routine because base64_decode does not honor srclen. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/xds/Makefile.in 1.15 -> 1.16
--- Makefile.in 2001/08/02 15:03:51 1.15
+++ Makefile.in 2001/08/02 17:24:49 1.16
@@ -14,6 +14,7 @@
xml-encode-double.o xml-decode-double.o \
xml-encode-begin.o xml-decode-begin.o \
xml-encode-end.o xml-decode-end.o \
+ xml-encode-octetstream.o xml-decode-octetstream.o \
$(XML64_OBJS)
XDR64_OBJS = @xdr_64_bit_objects@
|
|
ossp-pkg/xds/xds.h.in 1.9 -> 1.10
--- xds.h.in 2001/08/02 14:39:15 1.9
+++ xds.h.in 2001/08/02 17:24:49 1.10
@@ -61,7 +61,8 @@
XDS_ERR_TYPE_MISMATCH = -4,
XDS_ERR_UNKNOWN_ENGINE = -5,
XDS_ERR_INVALID_MODE = -6,
- XDS_ERR_UNDERFLOW = -7
+ XDS_ERR_UNDERFLOW = -7,
+ XDS_ERR_UNKNOWN = -8
};
typedef enum { XDS_ENCODE, XDS_DECODE } xds_mode_t;
typedef enum { XDS_LOAN, XDS_GIFT } xds_scope_t;
@@ -165,5 +166,7 @@
xds_declare_formatting_engine(xml_decode_string);
extern const char xds_xml_begin_text[];
extern const char xds_xml_end_text[];
+extern const char xds_base64[];
+extern const char xds_pad64;
#endif /* !defined(__LIBXDS_H__) */
|
|