Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
libxml/DOCBparser.h@1:26f20484cbdc, 2016-08-25 (annotated)
- Committer:
- pcercuei
- Date:
- Thu Aug 25 10:07:34 2016 +0000
- Revision:
- 1:26f20484cbdc
- Parent:
- 0:03b5121a232e
Add config.h and dummy.c containing empty functions
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pcercuei | 0:03b5121a232e | 1 | /* |
pcercuei | 0:03b5121a232e | 2 | * Summary: old DocBook SGML parser |
pcercuei | 0:03b5121a232e | 3 | * Description: interface for a DocBook SGML non-verifying parser |
pcercuei | 0:03b5121a232e | 4 | * This code is DEPRECATED, and should not be used anymore. |
pcercuei | 0:03b5121a232e | 5 | * |
pcercuei | 0:03b5121a232e | 6 | * Copy: See Copyright for the status of this software. |
pcercuei | 0:03b5121a232e | 7 | * |
pcercuei | 0:03b5121a232e | 8 | * Author: Daniel Veillard |
pcercuei | 0:03b5121a232e | 9 | */ |
pcercuei | 0:03b5121a232e | 10 | |
pcercuei | 0:03b5121a232e | 11 | #ifndef __DOCB_PARSER_H__ |
pcercuei | 0:03b5121a232e | 12 | #define __DOCB_PARSER_H__ |
pcercuei | 0:03b5121a232e | 13 | #include <libxml/xmlversion.h> |
pcercuei | 0:03b5121a232e | 14 | |
pcercuei | 0:03b5121a232e | 15 | #ifdef LIBXML_DOCB_ENABLED |
pcercuei | 0:03b5121a232e | 16 | |
pcercuei | 0:03b5121a232e | 17 | #include <libxml/parser.h> |
pcercuei | 0:03b5121a232e | 18 | #include <libxml/parserInternals.h> |
pcercuei | 0:03b5121a232e | 19 | |
pcercuei | 0:03b5121a232e | 20 | #ifndef IN_LIBXML |
pcercuei | 0:03b5121a232e | 21 | #ifdef __GNUC__ |
pcercuei | 0:03b5121a232e | 22 | #warning "The DOCBparser module has been deprecated in libxml2-2.6.0" |
pcercuei | 0:03b5121a232e | 23 | #endif |
pcercuei | 0:03b5121a232e | 24 | #endif |
pcercuei | 0:03b5121a232e | 25 | |
pcercuei | 0:03b5121a232e | 26 | #ifdef __cplusplus |
pcercuei | 0:03b5121a232e | 27 | extern "C" { |
pcercuei | 0:03b5121a232e | 28 | #endif |
pcercuei | 0:03b5121a232e | 29 | |
pcercuei | 0:03b5121a232e | 30 | /* |
pcercuei | 0:03b5121a232e | 31 | * Most of the back-end structures from XML and SGML are shared. |
pcercuei | 0:03b5121a232e | 32 | */ |
pcercuei | 0:03b5121a232e | 33 | typedef xmlParserCtxt docbParserCtxt; |
pcercuei | 0:03b5121a232e | 34 | typedef xmlParserCtxtPtr docbParserCtxtPtr; |
pcercuei | 0:03b5121a232e | 35 | typedef xmlSAXHandler docbSAXHandler; |
pcercuei | 0:03b5121a232e | 36 | typedef xmlSAXHandlerPtr docbSAXHandlerPtr; |
pcercuei | 0:03b5121a232e | 37 | typedef xmlParserInput docbParserInput; |
pcercuei | 0:03b5121a232e | 38 | typedef xmlParserInputPtr docbParserInputPtr; |
pcercuei | 0:03b5121a232e | 39 | typedef xmlDocPtr docbDocPtr; |
pcercuei | 0:03b5121a232e | 40 | |
pcercuei | 0:03b5121a232e | 41 | /* |
pcercuei | 0:03b5121a232e | 42 | * There is only few public functions. |
pcercuei | 0:03b5121a232e | 43 | */ |
pcercuei | 0:03b5121a232e | 44 | XMLPUBFUN int XMLCALL |
pcercuei | 0:03b5121a232e | 45 | docbEncodeEntities(unsigned char *out, |
pcercuei | 0:03b5121a232e | 46 | int *outlen, |
pcercuei | 0:03b5121a232e | 47 | const unsigned char *in, |
pcercuei | 0:03b5121a232e | 48 | int *inlen, int quoteChar); |
pcercuei | 0:03b5121a232e | 49 | |
pcercuei | 0:03b5121a232e | 50 | XMLPUBFUN docbDocPtr XMLCALL |
pcercuei | 0:03b5121a232e | 51 | docbSAXParseDoc (xmlChar *cur, |
pcercuei | 0:03b5121a232e | 52 | const char *encoding, |
pcercuei | 0:03b5121a232e | 53 | docbSAXHandlerPtr sax, |
pcercuei | 0:03b5121a232e | 54 | void *userData); |
pcercuei | 0:03b5121a232e | 55 | XMLPUBFUN docbDocPtr XMLCALL |
pcercuei | 0:03b5121a232e | 56 | docbParseDoc (xmlChar *cur, |
pcercuei | 0:03b5121a232e | 57 | const char *encoding); |
pcercuei | 0:03b5121a232e | 58 | XMLPUBFUN docbDocPtr XMLCALL |
pcercuei | 0:03b5121a232e | 59 | docbSAXParseFile (const char *filename, |
pcercuei | 0:03b5121a232e | 60 | const char *encoding, |
pcercuei | 0:03b5121a232e | 61 | docbSAXHandlerPtr sax, |
pcercuei | 0:03b5121a232e | 62 | void *userData); |
pcercuei | 0:03b5121a232e | 63 | XMLPUBFUN docbDocPtr XMLCALL |
pcercuei | 0:03b5121a232e | 64 | docbParseFile (const char *filename, |
pcercuei | 0:03b5121a232e | 65 | const char *encoding); |
pcercuei | 0:03b5121a232e | 66 | |
pcercuei | 0:03b5121a232e | 67 | /** |
pcercuei | 0:03b5121a232e | 68 | * Interfaces for the Push mode. |
pcercuei | 0:03b5121a232e | 69 | */ |
pcercuei | 0:03b5121a232e | 70 | XMLPUBFUN void XMLCALL |
pcercuei | 0:03b5121a232e | 71 | docbFreeParserCtxt (docbParserCtxtPtr ctxt); |
pcercuei | 0:03b5121a232e | 72 | XMLPUBFUN docbParserCtxtPtr XMLCALL |
pcercuei | 0:03b5121a232e | 73 | docbCreatePushParserCtxt(docbSAXHandlerPtr sax, |
pcercuei | 0:03b5121a232e | 74 | void *user_data, |
pcercuei | 0:03b5121a232e | 75 | const char *chunk, |
pcercuei | 0:03b5121a232e | 76 | int size, |
pcercuei | 0:03b5121a232e | 77 | const char *filename, |
pcercuei | 0:03b5121a232e | 78 | xmlCharEncoding enc); |
pcercuei | 0:03b5121a232e | 79 | XMLPUBFUN int XMLCALL |
pcercuei | 0:03b5121a232e | 80 | docbParseChunk (docbParserCtxtPtr ctxt, |
pcercuei | 0:03b5121a232e | 81 | const char *chunk, |
pcercuei | 0:03b5121a232e | 82 | int size, |
pcercuei | 0:03b5121a232e | 83 | int terminate); |
pcercuei | 0:03b5121a232e | 84 | XMLPUBFUN docbParserCtxtPtr XMLCALL |
pcercuei | 0:03b5121a232e | 85 | docbCreateFileParserCtxt(const char *filename, |
pcercuei | 0:03b5121a232e | 86 | const char *encoding); |
pcercuei | 0:03b5121a232e | 87 | XMLPUBFUN int XMLCALL |
pcercuei | 0:03b5121a232e | 88 | docbParseDocument (docbParserCtxtPtr ctxt); |
pcercuei | 0:03b5121a232e | 89 | |
pcercuei | 0:03b5121a232e | 90 | #ifdef __cplusplus |
pcercuei | 0:03b5121a232e | 91 | } |
pcercuei | 0:03b5121a232e | 92 | #endif |
pcercuei | 0:03b5121a232e | 93 | |
pcercuei | 0:03b5121a232e | 94 | #endif /* LIBXML_DOCB_ENABLED */ |
pcercuei | 0:03b5121a232e | 95 | |
pcercuei | 0:03b5121a232e | 96 | #endif /* __DOCB_PARSER_H__ */ |
pcercuei | 0:03b5121a232e | 97 |