Annotation of XML/HTMLtree.h, revision 1.9

1.1       daniel      1: /*
                      2:  * tree.h : describes the structures found in an tree resulting
                      3:  *          from an XML parsing.
                      4:  *
                      5:  * See Copyright for the status of this software.
                      6:  *
                      7:  * Daniel.Veillard@w3.org
                      8:  */
                      9: 
                     10: #ifndef __HTML_TREE_H__
                     11: #define __HTML_TREE_H__
                     12: 
1.3       daniel     13: #include <stdio.h>
1.5       daniel     14: #include <libxml/tree.h>
1.6       daniel     15: #include <libxml/HTMLparser.h>
1.3       daniel     16: 
1.1       daniel     17: 
                     18: #ifdef __cplusplus
                     19: extern "C" {
                     20: #endif
                     21: 
                     22: #define HTML_TEXT_NODE         XML_TEXT_NODE
                     23: #define HTML_ENTITY_REF_NODE   XML_ENTITY_REF_NODE
                     24: #define HTML_COMMENT_NODE      XML_COMMENT_NODE
                     25: 
1.8       veillard   26: htmlDocPtr     htmlNewDoc              (const xmlChar *URI,
                     27:                                         const xmlChar *ExternalID);
1.9     ! veillard   28: htmlDocPtr     htmlNewDocNoDtD         (const xmlChar *URI,
        !            29:                                         const xmlChar *ExternalID);
1.8       veillard   30: const xmlChar *        htmlGetMetaEncoding     (htmlDocPtr doc);
                     31: int            htmlSetMetaEncoding     (htmlDocPtr doc,
                     32:                                         const xmlChar *encoding);
                     33: void           htmlDocDumpMemory       (xmlDocPtr cur,
                     34:                                         xmlChar**mem,
                     35:                                         int *size);
                     36: int            htmlDocDump             (FILE *f,
                     37:                                         xmlDocPtr cur);
                     38: int            htmlSaveFile            (const char *filename,
                     39:                                         xmlDocPtr cur);
                     40: void           htmlNodeDump            (xmlBufferPtr buf,
                     41:                                         xmlDocPtr doc,
                     42:                                         xmlNodePtr cur);
                     43: void           htmlNodeDumpFile        (FILE *out,
                     44:                                         xmlDocPtr doc,
                     45:                                         xmlNodePtr cur);
                     46: int            htmlSaveFileEnc         (const char *filename,
                     47:                                         xmlDocPtr cur,
                     48:                                         const char *encoding);
1.1       daniel     49: 
                     50: #ifdef __cplusplus
                     51: }
                     52: #endif
                     53: 
                     54: #endif /* __HTML_TREE_H__ */
                     55: 

Webmaster