mirror of
https://github.com/GNOME/libxml2.git
synced 2025-02-23 18:29:14 +08:00
35 lines
664 B
C
35 lines
664 B
C
|
/*
|
||
|
* tree.h : describes the structures found in an tree resulting
|
||
|
* from an XML parsing.
|
||
|
*
|
||
|
* See Copyright for the status of this software.
|
||
|
*
|
||
|
* Daniel.Veillard@w3.org
|
||
|
*/
|
||
|
|
||
|
#ifndef __HTML_TREE_H__
|
||
|
#define __HTML_TREE_H__
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include "tree.h"
|
||
|
|
||
|
#define HTML_TEXT_NODE XML_TEXT_NODE
|
||
|
#define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE
|
||
|
#define HTML_COMMENT_NODE XML_COMMENT_NODE
|
||
|
|
||
|
void htmlDocDumpMemory(xmlDocPtr cur, CHAR**mem, int *size);
|
||
|
void htmlDocDump(FILE *f, xmlDocPtr cur);
|
||
|
int htmlSaveFile(const char *filename, xmlDocPtr cur);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* __HTML_TREE_H__ */
|
||
|
|