Eneboo - Documentación para desarrolladores
src/libdigidoc/libxml2/include/libxml/DOCBparser.h
Ir a la documentación de este archivo.
00001 /*
00002  * Summary: old DocBook SGML parser
00003  * Description: interface for a DocBook SGML non-verifying parser
00004  * This code is DEPRECATED, and should not be used anymore.
00005  *
00006  * Copy: See Copyright for the status of this software.
00007  *
00008  * Author: Daniel Veillard
00009  */
00010 
00011 #ifndef __DOCB_PARSER_H__
00012 #define __DOCB_PARSER_H__
00013 #include <libxml/xmlversion.h>
00014 
00015 #ifdef LIBXML_DOCB_ENABLED
00016 
00017 #include <libxml/parser.h>
00018 #include <libxml/parserInternals.h>
00019 
00020 #ifndef IN_LIBXML
00021 #ifdef __GNUC__
00022 #warning "The DOCBparser module has been deprecated in libxml2-2.6.0"
00023 #endif
00024 #endif
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00030 /*
00031  * Most of the back-end structures from XML and SGML are shared.
00032  */
00033 typedef xmlParserCtxt docbParserCtxt;
00034 typedef xmlParserCtxtPtr docbParserCtxtPtr;
00035 typedef xmlSAXHandler docbSAXHandler;
00036 typedef xmlSAXHandlerPtr docbSAXHandlerPtr;
00037 typedef xmlParserInput docbParserInput;
00038 typedef xmlParserInputPtr docbParserInputPtr;
00039 typedef xmlDocPtr docbDocPtr;
00040 
00041 /*
00042  * There is only few public functions.
00043  */
00044 XMLPUBFUN int XMLCALL
00045                      docbEncodeEntities(unsigned char *out,
00046                                         int *outlen,
00047                                         const unsigned char *in,
00048                                         int *inlen, int quoteChar);
00049 
00050 XMLPUBFUN docbDocPtr XMLCALL             
00051                      docbSAXParseDoc   (xmlChar *cur,
00052                                         const char *encoding,
00053                                         docbSAXHandlerPtr sax,
00054                                         void *userData);
00055 XMLPUBFUN docbDocPtr XMLCALL             
00056                      docbParseDoc      (xmlChar *cur,
00057                                         const char *encoding);
00058 XMLPUBFUN docbDocPtr XMLCALL             
00059                      docbSAXParseFile  (const char *filename,
00060                                         const char *encoding,
00061                                         docbSAXHandlerPtr sax,
00062                                         void *userData);
00063 XMLPUBFUN docbDocPtr XMLCALL             
00064                      docbParseFile     (const char *filename,
00065                                         const char *encoding);
00066 
00070 XMLPUBFUN void XMLCALL                  
00071                      docbFreeParserCtxt      (docbParserCtxtPtr ctxt);
00072 XMLPUBFUN docbParserCtxtPtr XMLCALL     
00073                      docbCreatePushParserCtxt(docbSAXHandlerPtr sax,
00074                                               void *user_data,
00075                                               const char *chunk,
00076                                               int size,
00077                                               const char *filename,
00078                                               xmlCharEncoding enc);
00079 XMLPUBFUN int XMLCALL                   
00080                      docbParseChunk          (docbParserCtxtPtr ctxt,
00081                                               const char *chunk,
00082                                               int size,
00083                                               int terminate);
00084 XMLPUBFUN docbParserCtxtPtr XMLCALL       
00085                      docbCreateFileParserCtxt(const char *filename,
00086                                               const char *encoding);
00087 XMLPUBFUN int XMLCALL                   
00088                      docbParseDocument       (docbParserCtxtPtr ctxt);
00089 
00090 #ifdef __cplusplus
00091 }
00092 #endif
00093 
00094 #endif /* LIBXML_DOCB_ENABLED */
00095 
00096 #endif /* __DOCB_PARSER_H__ */
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'