1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/libxml2/libxml2_sax2.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,178 @@
1.4 +/*
1.5 + * Summary: SAX2 parser interface used to build the DOM tree
1.6 + * Description: those are the default SAX2 interfaces used by
1.7 + * the library when building DOM tree.
1.8 + *
1.9 + * Copy: See Copyright for the status of this software.
1.10 + *
1.11 + * Author: Daniel Veillard
1.12 + * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.13 + */
1.14 +
1.15 +/** @file
1.16 +@publishedAll
1.17 +@released
1.18 +*/
1.19 +
1.20 +#ifndef XML_SAX2_H
1.21 +#define XML_SAX2_H
1.22 +
1.23 +#include <libxml2_parser.h>
1.24 +
1.25 +#ifdef LIBXML_XPTR_ENABLED
1.26 +#include <libxml2_xlink.h>
1.27 +#endif
1.28 +
1.29 +#ifdef __cplusplus
1.30 +extern "C" {
1.31 +#endif
1.32 +XMLPUBFUN const xmlChar * XMLCALL
1.33 + xmlSAX2GetPublicId (void *ctx);
1.34 +XMLPUBFUN const xmlChar * XMLCALL
1.35 + xmlSAX2GetSystemId (void *ctx);
1.36 +XMLPUBFUN void XMLCALL
1.37 + xmlSAX2SetDocumentLocator (void *ctx,
1.38 + xmlSAXLocatorPtr loc);
1.39 +
1.40 +XMLPUBFUN int XMLCALL
1.41 + xmlSAX2GetLineNumber (void *ctx);
1.42 +XMLPUBFUN int XMLCALL
1.43 + xmlSAX2GetColumnNumber (void *ctx);
1.44 +
1.45 +XMLPUBFUN int XMLCALL
1.46 + xmlSAX2IsStandalone (void *ctx);
1.47 +XMLPUBFUN int XMLCALL
1.48 + xmlSAX2HasInternalSubset (void *ctx);
1.49 +XMLPUBFUN int XMLCALL
1.50 + xmlSAX2HasExternalSubset (void *ctx);
1.51 +
1.52 +XMLPUBFUN void XMLCALL
1.53 + xmlSAX2InternalSubset (void *ctx,
1.54 + const xmlChar *name,
1.55 + const xmlChar *ExternalID,
1.56 + const xmlChar *SystemID);
1.57 +XMLPUBFUN void XMLCALL
1.58 + xmlSAX2ExternalSubset (void *ctx,
1.59 + const xmlChar *name,
1.60 + const xmlChar *ExternalID,
1.61 + const xmlChar *SystemID);
1.62 +XMLPUBFUN xmlEntityPtr XMLCALL
1.63 + xmlSAX2GetEntity (void *ctx,
1.64 + const xmlChar *name);
1.65 +XMLPUBFUN xmlEntityPtr XMLCALL
1.66 + xmlSAX2GetParameterEntity (void *ctx,
1.67 + const xmlChar *name);
1.68 +XMLPUBFUN xmlParserInputPtr XMLCALL
1.69 + xmlSAX2ResolveEntity (void *ctx,
1.70 + const xmlChar *publicId,
1.71 + const xmlChar *systemId);
1.72 +
1.73 +XMLPUBFUN void XMLCALL
1.74 + xmlSAX2EntityDecl (void *ctx,
1.75 + const xmlChar *name,
1.76 + int type,
1.77 + const xmlChar *publicId,
1.78 + const xmlChar *systemId,
1.79 + xmlChar *content);
1.80 +XMLPUBFUN void XMLCALL
1.81 + xmlSAX2AttributeDecl (void *ctx,
1.82 + const xmlChar *elem,
1.83 + const xmlChar *fullname,
1.84 + int type,
1.85 + int def,
1.86 + const xmlChar *defaultValue,
1.87 + xmlEnumerationPtr tree);
1.88 +XMLPUBFUN void XMLCALL
1.89 + xmlSAX2ElementDecl (void *ctx,
1.90 + const xmlChar *name,
1.91 + int type,
1.92 + xmlElementContentPtr content);
1.93 +XMLPUBFUN void XMLCALL
1.94 + xmlSAX2NotationDecl (void *ctx,
1.95 + const xmlChar *name,
1.96 + const xmlChar *publicId,
1.97 + const xmlChar *systemId);
1.98 +XMLPUBFUN void XMLCALL
1.99 + xmlSAX2UnparsedEntityDecl (void *ctx,
1.100 + const xmlChar *name,
1.101 + const xmlChar *publicId,
1.102 + const xmlChar *systemId,
1.103 + const xmlChar *notationName);
1.104 +
1.105 +XMLPUBFUN void XMLCALL
1.106 + xmlSAX2StartDocument (void *ctx);
1.107 +XMLPUBFUN void XMLCALL
1.108 + xmlSAX2EndDocument (void *ctx);
1.109 +XMLPUBFUN void XMLCALL
1.110 + xmlSAX2StartElement (void *ctx,
1.111 + const xmlChar *fullname,
1.112 + const xmlChar **atts);
1.113 +XMLPUBFUN void XMLCALL
1.114 + xmlSAX2EndElement (void *ctx,
1.115 + const xmlChar *name);
1.116 +XMLPUBFUN void XMLCALL
1.117 + xmlSAX2StartElementNs (void *ctx,
1.118 + const xmlChar *localname,
1.119 + const xmlChar *prefix,
1.120 + const xmlChar *URI,
1.121 + int nb_namespaces,
1.122 + const xmlChar **namespaces,
1.123 + int nb_attributes,
1.124 + int nb_defaulted,
1.125 + const xmlChar **attributes);
1.126 +XMLPUBFUN void XMLCALL
1.127 + xmlSAX2EndElementNs (void *ctx,
1.128 + const xmlChar *localname,
1.129 + const xmlChar *prefix,
1.130 + const xmlChar *URI);
1.131 +XMLPUBFUN void XMLCALL
1.132 + xmlSAX2Reference (void *ctx,
1.133 + const xmlChar *name);
1.134 +XMLPUBFUN void XMLCALL
1.135 + xmlSAX2Characters (void *ctx,
1.136 + const xmlChar *ch,
1.137 + int len);
1.138 +XMLPUBFUN void XMLCALL
1.139 + xmlSAX2IgnorableWhitespace (void *ctx,
1.140 + const xmlChar *ch,
1.141 + int len);
1.142 +XMLPUBFUN void XMLCALL
1.143 + xmlSAX2ProcessingInstruction (void *ctx,
1.144 + const xmlChar *target,
1.145 + const xmlChar *data);
1.146 +XMLPUBFUN void XMLCALL
1.147 + xmlSAX2Comment (void *ctx,
1.148 + const xmlChar *value);
1.149 +XMLPUBFUN void XMLCALL
1.150 + xmlSAX2CDataBlock (void *ctx,
1.151 + const xmlChar *value,
1.152 + int len);
1.153 +
1.154 +XMLPUBFUN int XMLCALL
1.155 + xmlSAXDefaultVersion (int version);
1.156 +
1.157 +XMLPUBFUN int XMLCALL
1.158 + xmlSAXVersion (xmlSAXHandler *hdlr,
1.159 + int version);
1.160 +XMLPUBFUN void XMLCALL
1.161 + xmlSAX2InitDefaultSAXHandler (xmlSAXHandler *hdlr,
1.162 + int warning);
1.163 +#ifdef LIBXML_HTML_ENABLED
1.164 +XMLPUBFUN void XMLCALL
1.165 + xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr);
1.166 +#endif
1.167 +#ifdef LIBXML_DOCB_ENABLED
1.168 +XMLPUBFUN void XMLCALL
1.169 + xmlSAX2InitDocbDefaultSAXHandler(xmlSAXHandler *hdlr);
1.170 +#endif
1.171 +XMLPUBFUN void XMLCALL
1.172 + xmlDefaultSAXHandlerInit (void);
1.173 +XMLPUBFUN void XMLCALL
1.174 + htmlDefaultSAXHandlerInit (void);
1.175 +XMLPUBFUN void XMLCALL
1.176 + docbDefaultSAXHandlerInit (void);
1.177 +#ifdef __cplusplus
1.178 +}
1.179 +#endif
1.180 +#endif /* XML_SAX2_H */
1.181 +