diff options
author | Daniel Veillard <veillard@redhat.com> | 2012-07-13 19:51:15 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-07-23 14:24:26 +0800 |
commit | 18d0db25037978a6a274f55a2c058ad82331965a (patch) | |
tree | c5ea37f8c3dac5677bde55cc174223d741c6b618 /enc.h | |
parent | ade10f2c57b4bd5c3812b96bce1144d8fa1d189e (diff) | |
download | libxml2-18d0db25037978a6a274f55a2c058ad82331965a.tar.gz |
Adding new encoding function to deal with the new structures
* encoding.c: adds xmlCharEncFirstLineInput, xmlCharEncInput and
xmlCharEncOutput
* enc.h: the functions are not made public but added to this new header
Diffstat (limited to 'enc.h')
-rw-r--r-- | enc.h | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -0,0 +1,29 @@ +/* + * enc.h: Internal Interfaces for encoding in libxml2 + * + * See Copyright for the status of this software. + * + * daniel@veillard.com + */ + +#ifndef __XML_ENC_H__ +#define __XML_ENC_H__ + +#include <libxml/tree.h> + +#ifdef __cplusplus +extern "C" { +#endif + +int xmlCharEncFirstLineInt(xmlCharEncodingHandler *handler, xmlBufferPtr out, + xmlBufferPtr in, int len); +int xmlCharEncFirstLineInput(xmlParserInputBufferPtr input, int len); +int xmlCharEncInput(xmlParserInputBufferPtr input); +int xmlCharEncOutput(xmlOutputBufferPtr output, int init); + +#ifdef __cplusplus +} +#endif +#endif /* __XML_ENC_H__ */ + + |