Annotation of embedaddon/libxml2/include/libxml/SAX.h, revision 1.1.1.2
1.1 misho 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 <stdio.h>
16: #include <stdlib.h>
17: #include <libxml/xmlversion.h>
18: #include <libxml/parser.h>
19: #include <libxml/xlink.h>
20:
21: #ifdef LIBXML_LEGACY_ENABLED
22:
23: #ifdef __cplusplus
24: extern "C" {
25: #endif
26: XMLPUBFUN const xmlChar * XMLCALL
27: getPublicId (void *ctx);
1.1.1.2 ! misho 28: XMLPUBFUN const xmlChar * XMLCALL
1.1 misho 29: getSystemId (void *ctx);
1.1.1.2 ! misho 30: XMLPUBFUN void XMLCALL
1.1 misho 31: setDocumentLocator (void *ctx,
32: xmlSAXLocatorPtr loc);
1.1.1.2 ! misho 33:
! 34: XMLPUBFUN int XMLCALL
1.1 misho 35: getLineNumber (void *ctx);
1.1.1.2 ! misho 36: XMLPUBFUN int XMLCALL
1.1 misho 37: getColumnNumber (void *ctx);
38:
1.1.1.2 ! misho 39: XMLPUBFUN int XMLCALL
1.1 misho 40: isStandalone (void *ctx);
1.1.1.2 ! misho 41: XMLPUBFUN int XMLCALL
1.1 misho 42: hasInternalSubset (void *ctx);
1.1.1.2 ! misho 43: XMLPUBFUN int XMLCALL
1.1 misho 44: hasExternalSubset (void *ctx);
45:
1.1.1.2 ! misho 46: XMLPUBFUN void XMLCALL
1.1 misho 47: internalSubset (void *ctx,
48: const xmlChar *name,
49: const xmlChar *ExternalID,
50: const xmlChar *SystemID);
1.1.1.2 ! misho 51: XMLPUBFUN void XMLCALL
1.1 misho 52: externalSubset (void *ctx,
53: const xmlChar *name,
54: const xmlChar *ExternalID,
55: const xmlChar *SystemID);
1.1.1.2 ! misho 56: XMLPUBFUN xmlEntityPtr XMLCALL
1.1 misho 57: getEntity (void *ctx,
58: const xmlChar *name);
1.1.1.2 ! misho 59: XMLPUBFUN xmlEntityPtr XMLCALL
1.1 misho 60: getParameterEntity (void *ctx,
61: const xmlChar *name);
1.1.1.2 ! misho 62: XMLPUBFUN xmlParserInputPtr XMLCALL
1.1 misho 63: resolveEntity (void *ctx,
64: const xmlChar *publicId,
65: const xmlChar *systemId);
66:
1.1.1.2 ! misho 67: XMLPUBFUN void XMLCALL
1.1 misho 68: entityDecl (void *ctx,
69: const xmlChar *name,
70: int type,
71: const xmlChar *publicId,
72: const xmlChar *systemId,
73: xmlChar *content);
1.1.1.2 ! misho 74: XMLPUBFUN void XMLCALL
1.1 misho 75: attributeDecl (void *ctx,
76: const xmlChar *elem,
77: const xmlChar *fullname,
78: int type,
79: int def,
80: const xmlChar *defaultValue,
81: xmlEnumerationPtr tree);
1.1.1.2 ! misho 82: XMLPUBFUN void XMLCALL
1.1 misho 83: elementDecl (void *ctx,
84: const xmlChar *name,
85: int type,
86: xmlElementContentPtr content);
1.1.1.2 ! misho 87: XMLPUBFUN void XMLCALL
1.1 misho 88: notationDecl (void *ctx,
89: const xmlChar *name,
90: const xmlChar *publicId,
91: const xmlChar *systemId);
1.1.1.2 ! misho 92: XMLPUBFUN void XMLCALL
1.1 misho 93: unparsedEntityDecl (void *ctx,
94: const xmlChar *name,
95: const xmlChar *publicId,
96: const xmlChar *systemId,
97: const xmlChar *notationName);
98:
1.1.1.2 ! misho 99: XMLPUBFUN void XMLCALL
1.1 misho 100: startDocument (void *ctx);
1.1.1.2 ! misho 101: XMLPUBFUN void XMLCALL
1.1 misho 102: endDocument (void *ctx);
1.1.1.2 ! misho 103: XMLPUBFUN void XMLCALL
1.1 misho 104: attribute (void *ctx,
105: const xmlChar *fullname,
106: const xmlChar *value);
1.1.1.2 ! misho 107: XMLPUBFUN void XMLCALL
1.1 misho 108: startElement (void *ctx,
109: const xmlChar *fullname,
110: const xmlChar **atts);
1.1.1.2 ! misho 111: XMLPUBFUN void XMLCALL
1.1 misho 112: endElement (void *ctx,
113: const xmlChar *name);
1.1.1.2 ! misho 114: XMLPUBFUN void XMLCALL
1.1 misho 115: reference (void *ctx,
116: const xmlChar *name);
1.1.1.2 ! misho 117: XMLPUBFUN void XMLCALL
1.1 misho 118: characters (void *ctx,
119: const xmlChar *ch,
120: int len);
1.1.1.2 ! misho 121: XMLPUBFUN void XMLCALL
1.1 misho 122: ignorableWhitespace (void *ctx,
123: const xmlChar *ch,
124: int len);
1.1.1.2 ! misho 125: XMLPUBFUN void XMLCALL
1.1 misho 126: processingInstruction (void *ctx,
127: const xmlChar *target,
128: const xmlChar *data);
1.1.1.2 ! misho 129: XMLPUBFUN void XMLCALL
1.1 misho 130: globalNamespace (void *ctx,
131: const xmlChar *href,
132: const xmlChar *prefix);
1.1.1.2 ! misho 133: XMLPUBFUN void XMLCALL
1.1 misho 134: setNamespace (void *ctx,
135: const xmlChar *name);
1.1.1.2 ! misho 136: XMLPUBFUN xmlNsPtr XMLCALL
1.1 misho 137: getNamespace (void *ctx);
1.1.1.2 ! misho 138: XMLPUBFUN int XMLCALL
1.1 misho 139: checkNamespace (void *ctx,
140: xmlChar *nameSpace);
1.1.1.2 ! misho 141: XMLPUBFUN void XMLCALL
1.1 misho 142: namespaceDecl (void *ctx,
143: const xmlChar *href,
144: const xmlChar *prefix);
1.1.1.2 ! misho 145: XMLPUBFUN void XMLCALL
1.1 misho 146: comment (void *ctx,
147: const xmlChar *value);
1.1.1.2 ! misho 148: XMLPUBFUN void XMLCALL
1.1 misho 149: cdataBlock (void *ctx,
150: const xmlChar *value,
151: int len);
152:
153: #ifdef LIBXML_SAX1_ENABLED
1.1.1.2 ! misho 154: XMLPUBFUN void XMLCALL
1.1 misho 155: initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
156: int warning);
157: #ifdef LIBXML_HTML_ENABLED
1.1.1.2 ! misho 158: XMLPUBFUN void XMLCALL
1.1 misho 159: inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
160: #endif
161: #ifdef LIBXML_DOCB_ENABLED
1.1.1.2 ! misho 162: XMLPUBFUN void XMLCALL
1.1 misho 163: initdocbDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
164: #endif
165: #endif /* LIBXML_SAX1_ENABLED */
166:
167: #ifdef __cplusplus
168: }
169: #endif
170:
171: #endif /* LIBXML_LEGACY_ENABLED */
172:
173: #endif /* __XML_SAX_H__ */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>