Daniel Veillard | 82150d8 | 1999-07-07 07:32:15 +0000 | [diff] [blame] | 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 | |
| 13 | |
| 14 | #ifdef __cplusplus |
| 15 | extern "C" { |
| 16 | #endif |
| 17 | |
| 18 | #include <stdio.h> |
| 19 | #include "tree.h" |
| 20 | |
| 21 | #define HTML_TEXT_NODE XML_TEXT_NODE |
| 22 | #define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE |
| 23 | #define HTML_COMMENT_NODE XML_COMMENT_NODE |
| 24 | |
| 25 | void htmlDocDumpMemory(xmlDocPtr cur, CHAR**mem, int *size); |
| 26 | void htmlDocDump(FILE *f, xmlDocPtr cur); |
| 27 | int htmlSaveFile(const char *filename, xmlDocPtr cur); |
| 28 | |
| 29 | #ifdef __cplusplus |
| 30 | } |
| 31 | #endif |
| 32 | |
| 33 | #endif /* __HTML_TREE_H__ */ |
| 34 | |