diff options
author | Daniel Veillard <veillard@src.gnome.org> | 1999-02-22 10:33:01 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 1999-02-22 10:33:01 +0000 |
commit | 1e346af5e4b3d46e521d349890a60253bc696597 (patch) | |
tree | 816093c959e40443056c2a245264d9f5e98bf8c1 /parserInternals.h | |
parent | 63dc42c681d00a87cebbd726d4858d7d0080341c (diff) | |
download | libxml2-1e346af5e4b3d46e521d349890a60253bc696597.tar.gz |
Serious upgrade of internal subset support, setup for gtk-doc, Daniel
Diffstat (limited to 'parserInternals.h')
-rw-r--r-- | parserInternals.h | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/parserInternals.h b/parserInternals.h new file mode 100644 index 00000000..9cd6a212 --- /dev/null +++ b/parserInternals.h @@ -0,0 +1,128 @@ +/* + * parserInternals.h : internals routines exported by the parser. + * + * See Copyright for the status of this software. + * + * Daniel.Veillard@w3.org + */ + +#ifndef __XML_PARSER_INTERNALS_H__ +#define __XML_PARSER_INTERNALS_H__ + +#include "parser.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Entities + */ +void +xmlHandleEntity(xmlParserCtxtPtr ctxt, xmlEntityPtr entity); + +/* + * Namespaces. + */ +CHAR * +xmlNamespaceParseNCName(xmlParserCtxtPtr ctxt); +CHAR * +xmlNamespaceParseQName(xmlParserCtxtPtr ctxt, CHAR **prefix); +CHAR * +xmlNamespaceParseNSDef(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseQuotedString(xmlParserCtxtPtr ctxt); +void +xmlParseNamespace(xmlParserCtxtPtr ctxt); + +/* + * Generic production rules + */ +CHAR * +xmlParseName(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseNmtoken(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseEntityValue(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseAttValue(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseSystemLiteral(xmlParserCtxtPtr ctxt); +CHAR * +xmlParsePubidLiteral(xmlParserCtxtPtr ctxt); +void +xmlParseCharData(xmlParserCtxtPtr ctxt, int cdata); +CHAR * +xmlParseExternalID(xmlParserCtxtPtr ctxt, CHAR **publicID, int strict); +xmlNodePtr +xmlParseComment(xmlParserCtxtPtr ctxt, int create); +CHAR * +xmlParsePITarget(xmlParserCtxtPtr ctxt); +void +xmlParsePI(xmlParserCtxtPtr ctxt); +void +xmlParseNotationDecl(xmlParserCtxtPtr ctxt); +void +xmlParseEntityDecl(xmlParserCtxtPtr ctxt); +int +xmlParseDefaultDecl(xmlParserCtxtPtr ctxt, CHAR **value); +xmlEnumerationPtr +xmlParseNotationType(xmlParserCtxtPtr ctxt); +xmlEnumerationPtr +xmlParseEnumerationType(xmlParserCtxtPtr ctxt); +int +xmlParseEnumeratedType(xmlParserCtxtPtr ctxt, xmlEnumerationPtr *tree); +int +xmlParseAttributeType(xmlParserCtxtPtr ctxt, xmlEnumerationPtr *tree); +void +xmlParseAttributeListDecl(xmlParserCtxtPtr ctxt); +xmlElementContentPtr +xmlParseElementMixedContentDecl(xmlParserCtxtPtr ctxt); +xmlElementContentPtr +xmlParseElementChildrenContentDecl(xmlParserCtxtPtr ctxt); +int +xmlParseElementContentDecl(xmlParserCtxtPtr ctxt, CHAR *name, + xmlElementContentPtr *result); +int +xmlParseElementDecl(xmlParserCtxtPtr ctxt); +void +xmlParseMarkupDecl(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseCharRef(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseEntityRef(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseReference(xmlParserCtxtPtr ctxt); +CHAR * +xmlParsePEReference(xmlParserCtxtPtr ctxt); +void +xmlParseDocTypeDecl(xmlParserCtxtPtr ctxt); +xmlAttrPtr +xmlParseAttribute(xmlParserCtxtPtr ctxt, xmlNodePtr node); +xmlNodePtr +xmlParseStartTag(xmlParserCtxtPtr ctxt); +void +xmlParseEndTag(xmlParserCtxtPtr ctxt, xmlNsPtr *nsPtr, CHAR **tagPtr); +void +xmlParseCDSect(xmlParserCtxtPtr ctxt); +void +xmlParseContent(xmlParserCtxtPtr ctxt); +xmlNodePtr +xmlParseElement(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseVersionNum(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseVersionInfo(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseEncName(xmlParserCtxtPtr ctxt); +CHAR * +xmlParseEncodingDecl(xmlParserCtxtPtr ctxt); +int +xmlParseSDDecl(xmlParserCtxtPtr ctxt); +void +xmlParseXMLDecl(xmlParserCtxtPtr ctxt); +void +xmlParseMisc(xmlParserCtxtPtr ctxt); + + +#endif /* __XML_PARSER_INTERNALS_H__ */ |