diff options
author | Mike Hommey <mh@glandium.org> | 2004-11-11 12:53:54 +0000 |
---|---|---|
committer | Mike Hommey <mh@glandium.org> | 2004-11-11 12:53:54 +0000 |
commit | f51dd67f3a3f472af0620391eb588eeca4533689 (patch) | |
tree | 9184c396c489196608427d5fa35814e86a1e479f /include/libxml/valid.h | |
parent | 9705f1a5e858108d21a0128556f42b25d16833cd (diff) | |
download | libxml2-upstream/2.6.16.tar.gz |
Load /tmp/tmp.n9GTkp/libxml2-2.6.16 intoupstream/2.6.16
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'include/libxml/valid.h')
-rw-r--r-- | include/libxml/valid.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/libxml/valid.h b/include/libxml/valid.h index a734902..99777d1 100644 --- a/include/libxml/valid.h +++ b/include/libxml/valid.h @@ -58,6 +58,21 @@ typedef void (*xmlValidityWarningFunc) (void *ctx, const char *msg, ...); +#ifdef IN_LIBXML +/** + * XML_CTXT_FINISH_DTD_0: + * + * Special value for finishDtd field when embedded in an xmlParserCtxt + */ +#define XML_CTXT_FINISH_DTD_0 0xabcd1234 +/** + * XML_CTXT_FINISH_DTD_1: + * + * Special value for finishDtd field when embedded in an xmlParserCtxt + */ +#define XML_CTXT_FINISH_DTD_1 0xabcd1235 +#endif + /* * xmlValidCtxt: * An xmlValidCtxt is used for error reporting when validating. @@ -75,7 +90,7 @@ struct _xmlValidCtxt { int nodeMax; /* Max depth of the parsing stack */ xmlNodePtr *nodeTab; /* array of nodes */ - int finishDtd; /* finished validating the Dtd ? */ + unsigned int finishDtd; /* finished validating the Dtd ? */ xmlDocPtr doc; /* the document */ int valid; /* temporary validity check result */ |