blob: 5a92dbf79c2fcb803fe6d2b3983d6666c828cbb9 [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
Daniel Veillarde6244821999-09-23 22:19:18 +000013#include <stdio.h>
14#include "tree.h"
15
Daniel Veillard82150d81999-07-07 07:32:15 +000016
17#ifdef __cplusplus
18extern "C" {
19#endif
20
Daniel Veillard82150d81999-07-07 07:32:15 +000021#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
Daniel Veillardb635f2e1999-09-23 22:19:18 +000025void htmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size);
Daniel Veillard82150d81999-07-07 07:32:15 +000026void 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