version 1.17, 2000/05/06 12:49:37
|
version 1.18, 2000/05/06 18:27:23
|
Line 41 struct _xmlParserInputBuffer {
|
Line 41 struct _xmlParserInputBuffer {
|
xmlBufferPtr raw; /* if encoder != NULL buffer for raw input */ |
xmlBufferPtr raw; /* if encoder != NULL buffer for raw input */ |
}; |
}; |
|
|
|
|
/* |
/* |
* Those are the functions and datatypes for the library output |
* Those are the functions and datatypes for the library output |
* I/O structures. |
* I/O structures. |
Line 62 struct _xmlOutputBuffer {
|
Line 63 struct _xmlOutputBuffer {
|
xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ |
xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ |
|
|
xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */ |
xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */ |
xmlBufferPtr raw; /* if encoder != NULL buffer for raw output */ |
xmlBufferPtr conv; /* if encoder != NULL buffer for output */ |
|
int written; /* total number of byte written */ |
}; |
}; |
|
|
|
|
/* |
/* |
* Interfaces for input |
* Interfaces for input |
*/ |
*/ |
Line 109 xmlOutputBufferPtr
|
Line 110 xmlOutputBufferPtr
|
|
|
xmlOutputBufferPtr |
xmlOutputBufferPtr |
xmlOutputBufferCreateFilename (const char *URI, |
xmlOutputBufferCreateFilename (const char *URI, |
xmlCharEncodingHandlerPtr encoder); |
xmlCharEncodingHandlerPtr encoder, |
|
int compression); |
|
|
xmlOutputBufferPtr |
xmlOutputBufferPtr |
xmlOutputBufferCreateFile (FILE *file, |
xmlOutputBufferCreateFile (FILE *file, |
Line 125 xmlOutputBufferPtr
|
Line 127 xmlOutputBufferPtr
|
void *ioctx, |
void *ioctx, |
xmlCharEncodingHandlerPtr encoder); |
xmlCharEncodingHandlerPtr encoder); |
|
|
int xmlOutputBufferWrite (xmlOutputBufferPtr in, |
int xmlOutputBufferWrite (xmlOutputBufferPtr out, |
int len, |
int len, |
const char *buf); |
const char *buf); |
|
int xmlOutputBufferWriteString (xmlOutputBufferPtr out, |
|
const char *str); |
|
|
void xmlFreeOutputBuffer (xmlOutputBufferPtr in); |
int xmlOutputBufferFlush (xmlOutputBufferPtr out); |
|
int xmlOutputBufferClose (xmlOutputBufferPtr out); |
|
|
int xmlRegisterOutputCallbacks (xmlOutputMatchCallback match, |
int xmlRegisterOutputCallbacks (xmlOutputMatchCallback match, |
xmlOutputOpenCallback open, |
xmlOutputOpenCallback open, |
xmlOutputWriteCallback write, |
xmlOutputWriteCallback write, |
xmlOutputCloseCallback close); |
xmlOutputCloseCallback close); |
|
|
|
/* |
|
* This save function is part of tree.h actually |
|
*/ |
|
int xmlSaveFileTo (xmlOutputBuffer *buf, |
|
xmlDocPtr cur); |
#ifdef __cplusplus |
#ifdef __cplusplus |
} |
} |
#endif |
#endif |