ReactOS 0.4.16-dev-297-gc569aee
|
#include <libxml/tree.h>
Go to the source code of this file.
Functions | |
int | xmlCharEncFirstLineInt (xmlCharEncodingHandler *handler, xmlBufferPtr out, xmlBufferPtr in, int len) |
int | xmlCharEncFirstLineInput (xmlParserInputBufferPtr input, int len) |
int | xmlCharEncInput (xmlParserInputBufferPtr input, int flush) |
int | xmlCharEncOutput (xmlOutputBufferPtr output, int init) |
int xmlCharEncFirstLineInput | ( | xmlParserInputBufferPtr | input, |
int | len | ||
) |
xmlCharEncFirstLineInput: @input: a parser input buffer @len: number of bytes to convert for the first line, or -1
Front-end for the encoding handler input function, but handle only the very first line. Point is that this is based on autodetection of the encoding and once that first line is converted we may find out that a different decoder is needed to process the input.
Returns the number of byte written if success, or -1 general error -2 if the transcoding fails (for *in is not valid utf8 string or the result of transformation can't fit into the encoding we want), or
Definition at line 2181 of file encoding.c.
Referenced by xmlSwitchInputEncodingInt().
int xmlCharEncFirstLineInt | ( | xmlCharEncodingHandler * | handler, |
xmlBufferPtr | out, | ||
xmlBufferPtr | in, | ||
int | len | ||
) |
xmlCharEncFirstLineInt: @handler: char encoding transformation data structure @out: an xmlBuffer for the output. @in: an xmlBuffer for the input @len: number of bytes to convert for the first line, or -1
Front-end for the encoding handler input function, but handle only the very first line, i.e. limit itself to 45 chars.
Returns the number of byte written if success, or -1 general error -2 if the transcoding fails (for *in is not valid utf8 string or the result of transformation can't fit into the encoding we want), or
Definition at line 2074 of file encoding.c.
Referenced by xmlCharEncFirstLine().
int xmlCharEncInput | ( | xmlParserInputBufferPtr | input, |
int | flush | ||
) |
xmlCharEncInput: @input: a parser input buffer @flush: try to flush all the raw buffer
Generic front-end for the encoding handler on parser input
Returns the number of byte written if success, or -1 general error -2 if the transcoding fails (for *in is not valid utf8 string or the result of transformation can't fit into the encoding we want), or
Definition at line 2288 of file encoding.c.
Referenced by xmlSwitchInputEncodingInt().
int xmlCharEncOutput | ( | xmlOutputBufferPtr | output, |
int | init | ||
) |