dictionary of reusable strings, just used to avoid allocation and freeing operations. Table of ContentsStructure xmlDict struct _xmlDict
The content of this structure is not made public by the API.
Typedef xmlDict * xmlDictPtr
void xmlDictCleanup (void)
@@ -23,11 +23,12 @@ The content of this structure is not made public by th
const xmlChar * xmlDictQLookup (xmlDictPtr dict, const xmlChar * prefix, const xmlChar * name)
int xmlDictReference (xmlDictPtr dict)
int xmlDictSize (xmlDictPtr dict)
+int xmlInitializeDict (void)
Description
Structure xmlDict struct _xmlDict {
The content of this structure is not made public by the API.
} Function: xmlDictCleanupvoid xmlDictCleanup (void)
- Free the dictionary mutex.
+Free the dictionary mutex. Do not call unless sure the library is not in use anymore !
Function: xmlDictCreatexmlDictPtr xmlDictCreate (void)
Create a new dictionary
Returns: | the newly created dictionnary, or NULL if an error occured. |
Function: xmlDictCreateSubxmlDictPtr xmlDictCreateSub (xmlDictPtr sub)
@@ -46,4 +47,6 @@ The content of this structure is not made public by th
Increment the reference counter of a dictionary
dict: | the dictionnary | Returns: | 0 in case of success and -1 in case of error |
Function: xmlDictSizeint 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 |
Daniel Veillard |