Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-13 09:14:01

0001 /**
0002  * @file
0003  * 
0004  * @brief Tree debugging APIs
0005  * 
0006  * Interfaces to a set of routines used for debugging the tree
0007  *              produced by the XML parser.
0008  *
0009  * @copyright See Copyright for the status of this software.
0010  *
0011  * @author Daniel Veillard
0012  */
0013 
0014 #ifndef __DEBUG_XML__
0015 #define __DEBUG_XML__
0016 #include <stdio.h>
0017 #include <libxml/xmlversion.h>
0018 #include <libxml/tree.h>
0019 
0020 #ifdef LIBXML_DEBUG_ENABLED
0021 
0022 #include <libxml/xpath.h>
0023 
0024 #ifdef __cplusplus
0025 extern "C" {
0026 #endif
0027 
0028 /*
0029  * The standard Dump routines.
0030  */
0031 XMLPUBFUN void
0032     xmlDebugDumpString  (FILE *output,
0033                  const xmlChar *str);
0034 XMLPUBFUN void
0035     xmlDebugDumpAttr    (FILE *output,
0036                  xmlAttr *attr,
0037                  int depth);
0038 XMLPUBFUN void
0039     xmlDebugDumpAttrList    (FILE *output,
0040                  xmlAttr *attr,
0041                  int depth);
0042 XMLPUBFUN void
0043     xmlDebugDumpOneNode (FILE *output,
0044                  xmlNode *node,
0045                  int depth);
0046 XMLPUBFUN void
0047     xmlDebugDumpNode    (FILE *output,
0048                  xmlNode *node,
0049                  int depth);
0050 XMLPUBFUN void
0051     xmlDebugDumpNodeList    (FILE *output,
0052                  xmlNode *node,
0053                  int depth);
0054 XMLPUBFUN void
0055     xmlDebugDumpDocumentHead(FILE *output,
0056                  xmlDoc *doc);
0057 XMLPUBFUN void
0058     xmlDebugDumpDocument    (FILE *output,
0059                  xmlDoc *doc);
0060 XMLPUBFUN void
0061     xmlDebugDumpDTD     (FILE *output,
0062                  xmlDtd *dtd);
0063 XMLPUBFUN void
0064     xmlDebugDumpEntities    (FILE *output,
0065                  xmlDoc *doc);
0066 
0067 /****************************************************************
0068  *                              *
0069  *          Checking routines           *
0070  *                              *
0071  ****************************************************************/
0072 
0073 XMLPUBFUN int
0074     xmlDebugCheckDocument   (FILE * output,
0075                  xmlDoc *doc);
0076 
0077 #ifdef __cplusplus
0078 }
0079 #endif
0080 
0081 #endif /* LIBXML_DEBUG_ENABLED */
0082 #endif /* __DEBUG_XML__ */