blob: 9c77496e3478ba4bf71e3dd30e8f84eaf3ce9c1a [file] [log] [blame]
Daniel Veillardbaf4cd51998-10-27 22:56:57 +00001/*
2 * debugXML.h : Interfaces to a set of routines used for debugging the tree
3 * produced by the XML parser.
4 *
5 * Daniel Veillard <Daniel.Veillard@w3.org>
6 */
7
8#ifndef __DEBUG_XML__
9#define __DEBUG_XML__
10#include "tree.h"
11
Daniel Veillardf600e251999-12-18 15:32:46 +000012#ifdef __cplusplus
Daniel Veillard5cb5ab81999-12-21 15:35:29 +000013extern "C" {
Daniel Veillardf600e251999-12-18 15:32:46 +000014#endif
Daniel Veillarddd6b3671999-09-23 22:19:22 +000015extern void xmlDebugDumpString(FILE *output, const xmlChar *str);
Daniel Veillardbaf4cd51998-10-27 22:56:57 +000016extern void xmlDebugDumpAttr(FILE *output, xmlAttrPtr attr, int depth);
17extern void xmlDebugDumpAttrList(FILE *output, xmlAttrPtr attr, int depth);
Daniel Veillard1566d3a1999-07-15 14:24:29 +000018extern void xmlDebugDumpOneNode(FILE *output, xmlNodePtr node, int depth);
Daniel Veillardbaf4cd51998-10-27 22:56:57 +000019extern void xmlDebugDumpNode(FILE *output, xmlNodePtr node, int depth);
20extern void xmlDebugDumpNodeList(FILE *output, xmlNodePtr node, int depth);
21extern void xmlDebugDumpDocument(FILE *output, xmlDocPtr doc);
Daniel Veillard10a2c651999-12-12 13:03:50 +000022extern void xmlDebugDumpEntities(FILE *output, xmlDocPtr doc);
Daniel Veillardf600e251999-12-18 15:32:46 +000023#ifdef __cplusplus
24}
25#endif
Daniel Veillardbaf4cd51998-10-27 22:56:57 +000026#endif /* __DEBUG_XML__ */