Reactos
at master 202 lines 4.4 kB view raw
1/* 2 * Summary: Old SAX version 1 handler, deprecated 3 * Description: DEPRECATED set of SAX version 1 interfaces used to 4 * build the DOM tree. 5 * 6 * Copy: See Copyright for the status of this software. 7 * 8 * Author: Daniel Veillard 9 */ 10 11 12#ifndef __XML_SAX_H__ 13#define __XML_SAX_H__ 14 15#include <libxml/xmlversion.h> 16#include <libxml/parser.h> 17 18#ifdef LIBXML_LEGACY_ENABLED 19 20#ifdef __cplusplus 21extern "C" { 22#endif 23XML_DEPRECATED 24XMLPUBFUN const xmlChar * 25 getPublicId (void *ctx); 26XML_DEPRECATED 27XMLPUBFUN const xmlChar * 28 getSystemId (void *ctx); 29XML_DEPRECATED 30XMLPUBFUN void 31 setDocumentLocator (void *ctx, 32 xmlSAXLocatorPtr loc); 33 34XML_DEPRECATED 35XMLPUBFUN int 36 getLineNumber (void *ctx); 37XML_DEPRECATED 38XMLPUBFUN int 39 getColumnNumber (void *ctx); 40 41XML_DEPRECATED 42XMLPUBFUN int 43 isStandalone (void *ctx); 44XML_DEPRECATED 45XMLPUBFUN int 46 hasInternalSubset (void *ctx); 47XML_DEPRECATED 48XMLPUBFUN int 49 hasExternalSubset (void *ctx); 50 51XML_DEPRECATED 52XMLPUBFUN void 53 internalSubset (void *ctx, 54 const xmlChar *name, 55 const xmlChar *ExternalID, 56 const xmlChar *SystemID); 57XML_DEPRECATED 58XMLPUBFUN void 59 externalSubset (void *ctx, 60 const xmlChar *name, 61 const xmlChar *ExternalID, 62 const xmlChar *SystemID); 63XML_DEPRECATED 64XMLPUBFUN xmlEntityPtr 65 getEntity (void *ctx, 66 const xmlChar *name); 67XML_DEPRECATED 68XMLPUBFUN xmlEntityPtr 69 getParameterEntity (void *ctx, 70 const xmlChar *name); 71XML_DEPRECATED 72XMLPUBFUN xmlParserInputPtr 73 resolveEntity (void *ctx, 74 const xmlChar *publicId, 75 const xmlChar *systemId); 76 77XML_DEPRECATED 78XMLPUBFUN void 79 entityDecl (void *ctx, 80 const xmlChar *name, 81 int type, 82 const xmlChar *publicId, 83 const xmlChar *systemId, 84 xmlChar *content); 85XML_DEPRECATED 86XMLPUBFUN void 87 attributeDecl (void *ctx, 88 const xmlChar *elem, 89 const xmlChar *fullname, 90 int type, 91 int def, 92 const xmlChar *defaultValue, 93 xmlEnumerationPtr tree); 94XML_DEPRECATED 95XMLPUBFUN void 96 elementDecl (void *ctx, 97 const xmlChar *name, 98 int type, 99 xmlElementContentPtr content); 100XML_DEPRECATED 101XMLPUBFUN void 102 notationDecl (void *ctx, 103 const xmlChar *name, 104 const xmlChar *publicId, 105 const xmlChar *systemId); 106XML_DEPRECATED 107XMLPUBFUN void 108 unparsedEntityDecl (void *ctx, 109 const xmlChar *name, 110 const xmlChar *publicId, 111 const xmlChar *systemId, 112 const xmlChar *notationName); 113 114XML_DEPRECATED 115XMLPUBFUN void 116 startDocument (void *ctx); 117XML_DEPRECATED 118XMLPUBFUN void 119 endDocument (void *ctx); 120XML_DEPRECATED 121XMLPUBFUN void 122 attribute (void *ctx, 123 const xmlChar *fullname, 124 const xmlChar *value); 125XML_DEPRECATED 126XMLPUBFUN void 127 startElement (void *ctx, 128 const xmlChar *fullname, 129 const xmlChar **atts); 130XML_DEPRECATED 131XMLPUBFUN void 132 endElement (void *ctx, 133 const xmlChar *name); 134XML_DEPRECATED 135XMLPUBFUN void 136 reference (void *ctx, 137 const xmlChar *name); 138XML_DEPRECATED 139XMLPUBFUN void 140 characters (void *ctx, 141 const xmlChar *ch, 142 int len); 143XML_DEPRECATED 144XMLPUBFUN void 145 ignorableWhitespace (void *ctx, 146 const xmlChar *ch, 147 int len); 148XML_DEPRECATED 149XMLPUBFUN void 150 processingInstruction (void *ctx, 151 const xmlChar *target, 152 const xmlChar *data); 153XML_DEPRECATED 154XMLPUBFUN void 155 globalNamespace (void *ctx, 156 const xmlChar *href, 157 const xmlChar *prefix); 158XML_DEPRECATED 159XMLPUBFUN void 160 setNamespace (void *ctx, 161 const xmlChar *name); 162XML_DEPRECATED 163XMLPUBFUN xmlNsPtr 164 getNamespace (void *ctx); 165XML_DEPRECATED 166XMLPUBFUN int 167 checkNamespace (void *ctx, 168 xmlChar *nameSpace); 169XML_DEPRECATED 170XMLPUBFUN void 171 namespaceDecl (void *ctx, 172 const xmlChar *href, 173 const xmlChar *prefix); 174XML_DEPRECATED 175XMLPUBFUN void 176 comment (void *ctx, 177 const xmlChar *value); 178XML_DEPRECATED 179XMLPUBFUN void 180 cdataBlock (void *ctx, 181 const xmlChar *value, 182 int len); 183 184#ifdef LIBXML_SAX1_ENABLED 185XML_DEPRECATED 186XMLPUBFUN void 187 initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr, 188 int warning); 189#ifdef LIBXML_HTML_ENABLED 190XML_DEPRECATED 191XMLPUBFUN void 192 inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr); 193#endif 194#endif /* LIBXML_SAX1_ENABLED */ 195 196#ifdef __cplusplus 197} 198#endif 199 200#endif /* LIBXML_LEGACY_ENABLED */ 201 202#endif /* __XML_SAX_H__ */