Index: third_party/libxml/include/libxml/entities.h |
diff --git a/third_party/libxml/include/libxml/entities.h b/third_party/libxml/include/libxml/entities.h |
index fdd72225c7a967034108e5d848ab6be7187d996b..cefb97f780d5c2693cf14c4f6b7628c02af6de16 100644 |
--- a/third_party/libxml/include/libxml/entities.h |
+++ b/third_party/libxml/include/libxml/entities.h |
@@ -57,6 +57,8 @@ struct _xmlEntity { |
const xmlChar *URI; /* the full URI as computed */ |
int owner; /* does the entity own the childrens */ |
int checked; /* was the entity content checked */ |
+ /* this is also used to count entites |
+ * references done from that entity */ |
}; |
/* |
@@ -72,9 +74,17 @@ typedef xmlEntitiesTable *xmlEntitiesTablePtr; |
*/ |
#ifdef LIBXML_LEGACY_ENABLED |
-XMLPUBFUN void XMLCALL |
+XMLPUBFUN void XMLCALL |
xmlInitializePredefinedEntities (void); |
#endif /* LIBXML_LEGACY_ENABLED */ |
+ |
+XMLPUBFUN xmlEntityPtr XMLCALL |
+ xmlNewEntity (xmlDocPtr doc, |
+ const xmlChar *name, |
+ int type, |
+ const xmlChar *ExternalID, |
+ const xmlChar *SystemID, |
+ const xmlChar *content); |
XMLPUBFUN xmlEntityPtr XMLCALL |
xmlAddDocEntity (xmlDocPtr doc, |
const xmlChar *name, |
@@ -82,53 +92,53 @@ XMLPUBFUN xmlEntityPtr XMLCALL |
const xmlChar *ExternalID, |
const xmlChar *SystemID, |
const xmlChar *content); |
-XMLPUBFUN xmlEntityPtr XMLCALL |
+XMLPUBFUN xmlEntityPtr XMLCALL |
xmlAddDtdEntity (xmlDocPtr doc, |
const xmlChar *name, |
int type, |
const xmlChar *ExternalID, |
const xmlChar *SystemID, |
const xmlChar *content); |
-XMLPUBFUN xmlEntityPtr XMLCALL |
+XMLPUBFUN xmlEntityPtr XMLCALL |
xmlGetPredefinedEntity (const xmlChar *name); |
-XMLPUBFUN xmlEntityPtr XMLCALL |
+XMLPUBFUN xmlEntityPtr XMLCALL |
xmlGetDocEntity (xmlDocPtr doc, |
const xmlChar *name); |
-XMLPUBFUN xmlEntityPtr XMLCALL |
+XMLPUBFUN xmlEntityPtr XMLCALL |
xmlGetDtdEntity (xmlDocPtr doc, |
const xmlChar *name); |
-XMLPUBFUN xmlEntityPtr XMLCALL |
+XMLPUBFUN xmlEntityPtr XMLCALL |
xmlGetParameterEntity (xmlDocPtr doc, |
const xmlChar *name); |
#ifdef LIBXML_LEGACY_ENABLED |
-XMLPUBFUN const xmlChar * XMLCALL |
+XMLPUBFUN const xmlChar * XMLCALL |
xmlEncodeEntities (xmlDocPtr doc, |
const xmlChar *input); |
#endif /* LIBXML_LEGACY_ENABLED */ |
-XMLPUBFUN xmlChar * XMLCALL |
+XMLPUBFUN xmlChar * XMLCALL |
xmlEncodeEntitiesReentrant(xmlDocPtr doc, |
const xmlChar *input); |
-XMLPUBFUN xmlChar * XMLCALL |
+XMLPUBFUN xmlChar * XMLCALL |
xmlEncodeSpecialChars (xmlDocPtr doc, |
const xmlChar *input); |
-XMLPUBFUN xmlEntitiesTablePtr XMLCALL |
+XMLPUBFUN xmlEntitiesTablePtr XMLCALL |
xmlCreateEntitiesTable (void); |
#ifdef LIBXML_TREE_ENABLED |
-XMLPUBFUN xmlEntitiesTablePtr XMLCALL |
+XMLPUBFUN xmlEntitiesTablePtr XMLCALL |
xmlCopyEntitiesTable (xmlEntitiesTablePtr table); |
#endif /* LIBXML_TREE_ENABLED */ |
-XMLPUBFUN void XMLCALL |
+XMLPUBFUN void XMLCALL |
xmlFreeEntitiesTable (xmlEntitiesTablePtr table); |
#ifdef LIBXML_OUTPUT_ENABLED |
-XMLPUBFUN void XMLCALL |
+XMLPUBFUN void XMLCALL |
xmlDumpEntitiesTable (xmlBufferPtr buf, |
xmlEntitiesTablePtr table); |
-XMLPUBFUN void XMLCALL |
+XMLPUBFUN void XMLCALL |
xmlDumpEntityDecl (xmlBufferPtr buf, |
xmlEntityPtr ent); |
#endif /* LIBXML_OUTPUT_ENABLED */ |
#ifdef LIBXML_LEGACY_ENABLED |
-XMLPUBFUN void XMLCALL |
+XMLPUBFUN void XMLCALL |
xmlCleanupPredefinedEntities(void); |
#endif /* LIBXML_LEGACY_ENABLED */ |