axmol/cocos2dx/platform/third_party/emscripten/libxml2/libxml/SAX.h

174 lines
4.2 KiB
C
Raw Normal View History

2013-04-16 05:59:39 +08:00
/*
* Summary: Old SAX version 1 handler, deprecated
* Description: DEPRECATED set of SAX version 1 interfaces used to
* build the DOM tree.
*
* Copy: See Copyright for the status of this software.
*
* Author: Daniel Veillard
*/
#ifndef __XML_SAX_H__
#define __XML_SAX_H__
#include <stdio.h>
#include <stdlib.h>
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
#include <libxml/xlink.h>
#ifdef LIBXML_LEGACY_ENABLED
#ifdef __cplusplus
extern "C" {
#endif
XMLPUBFUN const xmlChar * XMLCALL
getPublicId (void *ctx);
XMLPUBFUN const xmlChar * XMLCALL
2013-04-16 05:59:39 +08:00
getSystemId (void *ctx);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
setDocumentLocator (void *ctx,
xmlSAXLocatorPtr loc);
XMLPUBFUN int XMLCALL
2013-04-16 05:59:39 +08:00
getLineNumber (void *ctx);
XMLPUBFUN int XMLCALL
2013-04-16 05:59:39 +08:00
getColumnNumber (void *ctx);
XMLPUBFUN int XMLCALL
2013-04-16 05:59:39 +08:00
isStandalone (void *ctx);
XMLPUBFUN int XMLCALL
2013-04-16 05:59:39 +08:00
hasInternalSubset (void *ctx);
XMLPUBFUN int XMLCALL
2013-04-16 05:59:39 +08:00
hasExternalSubset (void *ctx);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
internalSubset (void *ctx,
const xmlChar *name,
const xmlChar *ExternalID,
const xmlChar *SystemID);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
externalSubset (void *ctx,
const xmlChar *name,
const xmlChar *ExternalID,
const xmlChar *SystemID);
XMLPUBFUN xmlEntityPtr XMLCALL
2013-04-16 05:59:39 +08:00
getEntity (void *ctx,
const xmlChar *name);
XMLPUBFUN xmlEntityPtr XMLCALL
2013-04-16 05:59:39 +08:00
getParameterEntity (void *ctx,
const xmlChar *name);
XMLPUBFUN xmlParserInputPtr XMLCALL
2013-04-16 05:59:39 +08:00
resolveEntity (void *ctx,
const xmlChar *publicId,
const xmlChar *systemId);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
entityDecl (void *ctx,
const xmlChar *name,
int type,
const xmlChar *publicId,
const xmlChar *systemId,
xmlChar *content);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
attributeDecl (void *ctx,
const xmlChar *elem,
const xmlChar *fullname,
int type,
int def,
const xmlChar *defaultValue,
xmlEnumerationPtr tree);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
elementDecl (void *ctx,
const xmlChar *name,
int type,
xmlElementContentPtr content);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
notationDecl (void *ctx,
const xmlChar *name,
const xmlChar *publicId,
const xmlChar *systemId);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
unparsedEntityDecl (void *ctx,
const xmlChar *name,
const xmlChar *publicId,
const xmlChar *systemId,
const xmlChar *notationName);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
startDocument (void *ctx);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
endDocument (void *ctx);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
attribute (void *ctx,
const xmlChar *fullname,
const xmlChar *value);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
startElement (void *ctx,
const xmlChar *fullname,
const xmlChar **atts);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
endElement (void *ctx,
const xmlChar *name);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
reference (void *ctx,
const xmlChar *name);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
characters (void *ctx,
const xmlChar *ch,
int len);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
ignorableWhitespace (void *ctx,
const xmlChar *ch,
int len);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
processingInstruction (void *ctx,
const xmlChar *target,
const xmlChar *data);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
globalNamespace (void *ctx,
const xmlChar *href,
const xmlChar *prefix);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
setNamespace (void *ctx,
const xmlChar *name);
XMLPUBFUN xmlNsPtr XMLCALL
2013-04-16 05:59:39 +08:00
getNamespace (void *ctx);
XMLPUBFUN int XMLCALL
2013-04-16 05:59:39 +08:00
checkNamespace (void *ctx,
xmlChar *nameSpace);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
namespaceDecl (void *ctx,
const xmlChar *href,
const xmlChar *prefix);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
comment (void *ctx,
const xmlChar *value);
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
cdataBlock (void *ctx,
const xmlChar *value,
int len);
#ifdef LIBXML_SAX1_ENABLED
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
int warning);
#ifdef LIBXML_HTML_ENABLED
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
#endif
#ifdef LIBXML_DOCB_ENABLED
XMLPUBFUN void XMLCALL
2013-04-16 05:59:39 +08:00
initdocbDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
#endif
#endif /* LIBXML_SAX1_ENABLED */
#ifdef __cplusplus
}
#endif
#endif /* LIBXML_LEGACY_ENABLED */
#endif /* __XML_SAX_H__ */