ReactOS 0.4.15-dev-8408-g466a198
dict.h
Go to the documentation of this file.
1/*
2 * Summary: string dictionary
3 * Description: dictionary of reusable strings, just used to avoid allocation
4 * and freeing operations.
5 *
6 * Copy: See Copyright for the status of this software.
7 *
8 * Author: Daniel Veillard
9 */
10
11#ifndef __XML_DICT_H__
12#define __XML_DICT_H__
13
14#include <stddef.h>
15#include <libxml/xmlversion.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21/*
22 * The dictionary.
23 */
24typedef struct _xmlDict xmlDict;
26
27/*
28 * Initializer
29 */
32
33/*
34 * Constructor and destructor.
35 */
37 xmlDictCreate (void);
38XMLPUBFUN size_t XMLCALL
40 size_t limit);
41XMLPUBFUN size_t XMLCALL
49
50/*
51 * Lookup of entry in the dictionary.
52 */
55 const xmlChar *name,
56 int len);
59 const xmlChar *name,
60 int len);
63 const xmlChar *prefix,
64 const xmlChar *name);
67 const xmlChar *str);
70
71/*
72 * Cleanup function
73 */
76 xmlDictCleanup (void);
77
78#ifdef __cplusplus
79}
80#endif
81#endif /* ! __XML_DICT_H__ */
#define XMLCALL
GLint limit
Definition: glext.h:10326
GLenum GLsizei len
Definition: glext.h:6722
const WCHAR * str
XML_DEPRECATED XMLPUBFUN int XMLCALL xmlInitializeDict(void)
Definition: dict.c:157
XMLPUBFUN const xmlChar *XMLCALL xmlDictLookup(xmlDictPtr dict, const xmlChar *name, int len)
Definition: dict.c:867
XMLPUBFUN const xmlChar *XMLCALL xmlDictQLookup(xmlDictPtr dict, const xmlChar *prefix, const xmlChar *name)
Definition: dict.c:1115
XMLPUBFUN const xmlChar *XMLCALL xmlDictExists(xmlDictPtr dict, const xmlChar *name, int len)
Definition: dict.c:1007
XML_DEPRECATED XMLPUBFUN void XMLCALL xmlDictCleanup(void)
Definition: dict.c:224
XMLPUBFUN int XMLCALL xmlDictOwns(xmlDictPtr dict, const xmlChar *str)
Definition: dict.c:1220
XMLPUBFUN xmlDictPtr XMLCALL xmlDictCreate(void)
Definition: dict.c:577
XMLPUBFUN size_t XMLCALL xmlDictGetUsage(xmlDictPtr dict)
Definition: dict.c:1285
XMLPUBFUN int XMLCALL xmlDictSize(xmlDictPtr dict)
Definition: dict.c:1246
XMLPUBFUN size_t XMLCALL xmlDictSetLimit(xmlDictPtr dict, size_t limit)
Definition: dict.c:1265
XMLPUBFUN xmlDictPtr XMLCALL xmlDictCreateSub(xmlDictPtr sub)
Definition: dict.c:624
xmlDict * xmlDictPtr
Definition: dict.h:25
XMLPUBFUN void XMLCALL xmlDictFree(xmlDictPtr dict)
Definition: dict.c:802
XMLPUBFUN int XMLCALL xmlDictReference(xmlDictPtr dict)
Definition: dict.c:647
Definition: dict.c:111
struct _xmlDictEntry * dict
Definition: dict.c:114
Definition: name.c:39
#define XMLPUBFUN
Definition: xmlexports.h:61
unsigned char xmlChar
Definition: xmlstring.h:28
#define XML_DEPRECATED
Definition: xmlversion.h:494