blob: 2b375e56def7357955e8393247a5ad3000a93999 [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);
Daniel Veillard5feb8492000-02-02 17:15:36 +000028void htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur);
29void htmlNodeDumpFile(FILE *out, xmlDocPtr doc, xmlNodePtr cur);
Daniel Veillard82150d81999-07-07 07:32:15 +000030
31#ifdef __cplusplus
32}
33#endif
34
35#endif /* __HTML_TREE_H__ */
36