version 1.1, 2012/02/21 23:37:58
|
version 1.1.1.3, 2014/06/15 19:53:38
|
Line 11
|
Line 11
|
#ifndef __XML_DICT_H__ |
#ifndef __XML_DICT_H__ |
#define __XML_DICT_H__ |
#define __XML_DICT_H__ |
|
|
|
#include <limits.h> |
#include <libxml/xmlversion.h> |
#include <libxml/xmlversion.h> |
#include <libxml/tree.h> |
#include <libxml/tree.h> |
|
|
Line 25 typedef struct _xmlDict xmlDict;
|
Line 26 typedef struct _xmlDict xmlDict;
|
typedef xmlDict *xmlDictPtr; |
typedef xmlDict *xmlDictPtr; |
|
|
/* |
/* |
|
* Initializer |
|
*/ |
|
XMLPUBFUN int XMLCALL xmlInitializeDict(void); |
|
|
|
/* |
* Constructor and destructor. |
* Constructor and destructor. |
*/ |
*/ |
XMLPUBFUN xmlDictPtr XMLCALL |
XMLPUBFUN xmlDictPtr XMLCALL |
xmlDictCreate (void); |
xmlDictCreate (void); |
|
XMLPUBFUN size_t XMLCALL |
|
xmlDictSetLimit (xmlDictPtr dict, |
|
size_t limit); |
|
XMLPUBFUN size_t XMLCALL |
|
xmlDictGetUsage (xmlDictPtr dict); |
XMLPUBFUN xmlDictPtr XMLCALL |
XMLPUBFUN xmlDictPtr XMLCALL |
xmlDictCreateSub(xmlDictPtr sub); |
xmlDictCreateSub(xmlDictPtr sub); |
XMLPUBFUN int XMLCALL |
XMLPUBFUN int XMLCALL |
xmlDictReference(xmlDictPtr dict); |
xmlDictReference(xmlDictPtr dict); |
XMLPUBFUN void XMLCALL | XMLPUBFUN void XMLCALL |
xmlDictFree (xmlDictPtr dict); |
xmlDictFree (xmlDictPtr dict); |
|
|
/* |
/* |
* Lookup of entry in the dictionnary. |
* Lookup of entry in the dictionnary. |
*/ |
*/ |
XMLPUBFUN const xmlChar * XMLCALL | XMLPUBFUN const xmlChar * XMLCALL |
xmlDictLookup (xmlDictPtr dict, |
xmlDictLookup (xmlDictPtr dict, |
const xmlChar *name, |
const xmlChar *name, |
int len); |
int len); |
XMLPUBFUN const xmlChar * XMLCALL | XMLPUBFUN const xmlChar * XMLCALL |
xmlDictExists (xmlDictPtr dict, |
xmlDictExists (xmlDictPtr dict, |
const xmlChar *name, |
const xmlChar *name, |
int len); |
int len); |
XMLPUBFUN const xmlChar * XMLCALL | XMLPUBFUN const xmlChar * XMLCALL |
xmlDictQLookup (xmlDictPtr dict, |
xmlDictQLookup (xmlDictPtr dict, |
const xmlChar *prefix, |
const xmlChar *prefix, |
const xmlChar *name); |
const xmlChar *name); |
XMLPUBFUN int XMLCALL |
XMLPUBFUN int XMLCALL |
xmlDictOwns (xmlDictPtr dict, |
xmlDictOwns (xmlDictPtr dict, |
const xmlChar *str); |
const xmlChar *str); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlDictSize (xmlDictPtr dict); |
xmlDictSize (xmlDictPtr dict); |
|
|
/* |
/* |