/* Encode or decode file as MIME base64 (RFC 1341) by John Walker http://www.fourmilab.ch/ This program is in the public domain. */ struct buffer_st { char *data; int length; char *ptr; int offset; }; void buffer_new(struct buffer_st *b); void buffer_add(struct buffer_st *b, char c); void buffer_delete(struct buffer_st *b); void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length); void base64_decode_xmlrpc(struct buffer_st *b, const char *source, int length); /* #define DEBUG_MALLOC */ #ifdef DEBUG_MALLOC void *_malloc_real(size_t s, char *file, int line); void _free_real(void *p, char *file, int line); #define malloc(s) _malloc_real(s,__FILE__,__LINE__) #define free(p) _free_real(p, __FILE__,__LINE__) #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
base64.c | File | 3.85 KB | 0644 |
|
base64.h | File | 785 B | 0644 |
|
encodings.c | File | 3.47 KB | 0644 |
|
encodings.h | File | 1.72 KB | 0644 |
|
queue.c | File | 18.26 KB | 0644 |
|
queue.h | File | 2.34 KB | 0644 |
|
simplestring.c | File | 6.95 KB | 0644 |
|
simplestring.h | File | 2.25 KB | 0644 |
|
system_methods.c | File | 13.55 KB | 0644 |
|
system_methods_private.h | File | 2.68 KB | 0644 |
|
xml_element.c | File | 23.96 KB | 0644 |
|
xml_element.h | File | 5.98 KB | 0644 |
|
xml_to_dandarpc.c | File | 10.68 KB | 0644 |
|
xml_to_dandarpc.h | File | 1.63 KB | 0644 |
|
xml_to_soap.c | File | 21.85 KB | 0644 |
|
xml_to_soap.h | File | 1.59 KB | 0644 |
|
xml_to_xmlrpc.c | File | 14.71 KB | 0644 |
|
xml_to_xmlrpc.h | File | 1.62 KB | 0644 |
|
xmlrpc.c | File | 78.76 KB | 0644 |
|
xmlrpc.h | File | 17.61 KB | 0644 |
|
xmlrpc_introspection.c | File | 20.57 KB | 0644 |
|
xmlrpc_introspection.h | File | 2.95 KB | 0644 |
|
xmlrpc_introspection_private.h | File | 3.49 KB | 0644 |
|
xmlrpc_private.h | File | 5.61 KB | 0644 |
|