--- embedaddon/libxml2/doc/html/libxml-dict.html 2012/02/21 23:37:59 1.1.1.1 +++ embedaddon/libxml2/doc/html/libxml-dict.html 2013/07/22 01:22:26 1.1.1.2 @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underli Module dict from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module dict from libxml2

API Menu
API Indexes
Related links

dictionary of reusable strings, just used to avoid allocation and freeing operations.

Table of Contents

Structure xmlDict
struct _xmlDict + Module dict from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module dict from libxml2

API Menu
API Indexes
Related links

dictionary of reusable strings, just used to avoid allocation and freeing operations.

Table of Contents

Structure 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

Structure xmlDict
struct _xmlDict { The content of this structure is not made public by the API. }

Function: xmlDictCleanup

void	xmlDictCleanup			(void)
-

Free the dictionary mutex.

+

Free the dictionary mutex. Do not call unless sure the library is not in use anymore !

Function: xmlDictCreate

xmlDictPtr	xmlDictCreate		(void)

Create a new dictionary

Returns:the newly created dictionnary, or NULL if an error occured.

Function: xmlDictCreateSub

xmlDictPtr	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: 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

Daniel Veillard

+
dict:the dictionnary
Returns:the number of elements in the dictionnary or -1 in case of error

Function: 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

Daniel Veillard