--- embedaddon/libxml2/doc/devhelp/libxml2-dict.html 2012/02/21 23:37:59 1.1.1.1
+++ embedaddon/libxml2/doc/devhelp/libxml2-dict.html 2013/07/22 01:22:25 1.1.1.2
@@ -51,6 +51,7 @@ int xmlDictSize (xmlChar * xmlDictExists (xmlDictPtr dict,
const xmlChar * name,
int len);
int xmlDictOwns (xmlDictPtr dict,
const xmlChar * str);
const xmlChar * xmlDictQLookup (xmlDictPtr dict,
const xmlChar * prefix,
const xmlChar * name);
+int xmlInitializeDict (void);
xmlDictPtr xmlDictCreateSub (xmlDictPtr sub);
void xmlDictFree (xmlDictPtr dict);
const xmlChar * xmlDictLookup (xmlDictPtr dict,
const xmlChar * name,
int len);
@@ -74,7 +75,7 @@ The content of this structure is not made public by th
void xmlDictCleanup (void)
-
Free the dictionary mutex.
+Free the dictionary mutex. Do not call unless sure the library is not in use anymore !
xmlDictPtr xmlDictCreate (void)
@@ -112,6 +113,10 @@ The content of this structure is not made public by th+xmlDictSize ()
int xmlDictSize (xmlDictPtr dict)
Query the number of elements installed in the hash @dict.
dict: the dictionnary Returns: the number of elements in the dictionnary or -1 in case of error
+xmlInitializeDict ()
int xmlInitializeDict (void)
+Do the dictionary mutex initialization. this function is not thread safe, initialization should preferably be done once at startup
+
Returns: 0 if initialization was already done, and 1 if that call led to the initialization