blob: 09206dbb8801240090d2c2bd56b501689e3447be [file] [log] [blame]
Daniel Veillard82150d81999-07-07 07:32:15 +00001/*
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
15extern "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
25void htmlDocDumpMemory(xmlDocPtr cur, CHAR**mem, int *size);
26void htmlDocDump(FILE *f, xmlDocPtr cur);
27int htmlSaveFile(const char *filename, xmlDocPtr cur);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* __HTML_TREE_H__ */
34