#ifndef __XML_PARSER_INTERNALS_H__
#define __XML_PARSER_INTERNALS_H__
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
#ifdef __cplusplus
extern "C" {
#endif
XMLPUBFUN int xmlIsLetter(int c);
#ifdef __cplusplus
}
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
XMLPUBFUN int xmlCheckLanguageID (const xmlChar *lang);
XMLPUBFUN int xmlCopyChar (int len,
xmlChar *out,
int val);
XMLPUBFUN int xmlCopyCharMultiByte (xmlChar *out,
int val);
XMLPUBFUN xmlParserCtxt *
xmlCreateEntityParserCtxt(const xmlChar *URL,
const xmlChar *ID,
const xmlChar *base);
XMLPUBFUN xmlParserCtxt *
xmlCreateFileParserCtxt (const char *filename);
XMLPUBFUN xmlParserCtxt *
xmlCreateMemoryParserCtxt(const char *buffer,
int size);
XMLPUBFUN xmlParserCtxt *
xmlCreateURLParserCtxt (const char *filename,
int options);
XMLPUBFUN void
xmlCtxtErrMemory (xmlParserCtxt *ctxt);
XMLPUBFUN int xmlCurrentChar (xmlParserCtxt *ctxt,
int *len);
XMLPUBFUN void
xmlFreeInputStream (xmlParserInput *input);
XMLPUBFUN xmlParserInput *
xmlNewEntityInputStream (xmlParserCtxt *ctxt,
xmlEntity *entity);
XMLPUBFUN xmlParserInput *
xmlNewInputFromFile (xmlParserCtxt *ctxt,
const char *filename);
XMLPUBFUN xmlParserInput *
xmlNewInputStream (xmlParserCtxt *ctxt);
XMLPUBFUN xmlParserInput *
xmlNewStringInputStream (xmlParserCtxt *ctxt,
const xmlChar *buffer);
XMLPUBFUN void xmlNextChar (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlParseAttValue (xmlParserCtxt *ctxt);
XMLPUBFUN const xmlChar *
xmlParseAttribute (xmlParserCtxt *ctxt,
xmlChar **value);
XMLPUBFUN void
xmlParseAttributeListDecl(xmlParserCtxt *ctxt);
XMLPUBFUN int
xmlParseAttributeType (xmlParserCtxt *ctxt,
xmlEnumeration **tree);
XMLPUBFUN void
xmlParseCDSect (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseCharData (xmlParserCtxt *ctxt,
int cdata);
XMLPUBFUN int
xmlParseCharRef (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseComment (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseContent (xmlParserCtxt *ctxt);
XMLPUBFUN int
xmlParseDefaultDecl (xmlParserCtxt *ctxt,
xmlChar **value);
XMLPUBFUN void
xmlParseDocTypeDecl (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseElement (xmlParserCtxt *ctxt);
XMLPUBFUN xmlElementContent *
xmlParseElementChildrenContentDecl
(xmlParserCtxt *ctxt,
int inputchk);
XMLPUBFUN int
xmlParseElementContentDecl(xmlParserCtxt *ctxt,
const xmlChar *name,
xmlElementContent **result);
XMLPUBFUN int
xmlParseElementDecl (xmlParserCtxt *ctxt);
XMLPUBFUN xmlElementContent *
xmlParseElementMixedContentDecl
(xmlParserCtxt *ctxt,
int inputchk);
XMLPUBFUN xmlChar *
xmlParseEncName (xmlParserCtxt *ctxt);
XMLPUBFUN const xmlChar *
xmlParseEncodingDecl (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseEndTag (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseEntityDecl (xmlParserCtxt *ctxt);
XMLPUBFUN xmlEntity *
xmlParseEntityRef (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlParseEntityValue (xmlParserCtxt *ctxt,
xmlChar **orig);
XMLPUBFUN int
xmlParseEnumeratedType (xmlParserCtxt *ctxt,
xmlEnumeration **tree);
XMLPUBFUN xmlEnumeration *
xmlParseEnumerationType (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlParseExternalID (xmlParserCtxt *ctxt,
xmlChar **publicId,
int strict);
XMLPUBFUN void
xmlParseExternalSubset (xmlParserCtxt *ctxt,
const xmlChar *publicId,
const xmlChar *systemId);
XMLPUBFUN void
xmlParseMarkupDecl (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseMisc (xmlParserCtxt *ctxt);
XMLPUBFUN const xmlChar *
xmlParseName (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlParseNmtoken (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseNotationDecl (xmlParserCtxt *ctxt);
XMLPUBFUN xmlEnumeration *
xmlParseNotationType (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParsePEReference (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParsePI (xmlParserCtxt *ctxt);
XMLPUBFUN const xmlChar *
xmlParsePITarget (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlParsePubidLiteral (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseReference (xmlParserCtxt *ctxt);
XMLPUBFUN int
xmlParseSDDecl (xmlParserCtxt *ctxt);
XMLPUBFUN const xmlChar *
xmlParseStartTag (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlParseSystemLiteral (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseTextDecl (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlParseVersionInfo (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlParseVersionNum (xmlParserCtxt *ctxt);
XMLPUBFUN void
xmlParseXMLDecl (xmlParserCtxt *ctxt);
XMLPUBFUN void xmlParserHandlePEReference(xmlParserCtxt *ctxt);
XMLPUBFUN void xmlParserInputShrink (xmlParserInput *in);
XMLPUBFUN xmlChar
xmlPopInput (xmlParserCtxt *ctxt);
XMLPUBFUN int
xmlPushInput (xmlParserCtxt *ctxt,
xmlParserInput *input);
XMLPUBFUN int xmlSkipBlankChars (xmlParserCtxt *ctxt);
XMLPUBFUN xmlChar *
xmlSplitQName (xmlParserCtxt *ctxt,
const xmlChar *name,
xmlChar **prefix);
XMLPUBFUN int xmlStringCurrentChar (xmlParserCtxt *ctxt,
const xmlChar *cur,
int *len);
XMLPUBFUN xmlChar *
xmlStringDecodeEntities (xmlParserCtxt *ctxt,
const xmlChar *str,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3);
XMLPUBFUN xmlChar *
xmlStringLenDecodeEntities (xmlParserCtxt *ctxt,
const xmlChar *str,
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3);
XMLPUBFUN int
xmlSwitchEncoding (xmlParserCtxt *ctxt,
xmlCharEncoding enc);
XMLPUBFUN int
xmlSwitchEncodingName (xmlParserCtxt *ctxt,
const char *encoding);
XMLPUBFUN int
xmlSwitchInputEncoding (xmlParserCtxt *ctxt,
xmlParserInput *input,
xmlCharEncodingHandler *handler);
XMLPUBFUN int
xmlSwitchToEncoding (xmlParserCtxt *ctxt,
xmlCharEncodingHandler *handler);
#ifdef __cplusplus
}
#endif