| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | #ifndef __XML_HASH_H__ |
| | #define __XML_HASH_H__ |
| |
|
| | #ifdef __cplusplus |
| | extern "C" { |
| | #endif |
| |
|
| | |
| | |
| | |
| | typedef struct _xmlHashTable xmlHashTable; |
| | typedef xmlHashTable *xmlHashTablePtr; |
| |
|
| | #ifdef __cplusplus |
| | } |
| | #endif |
| |
|
| | #include <libxml/xmlversion.h> |
| | #include <libxml/parser.h> |
| | #include <libxml/dict.h> |
| |
|
| | #ifdef __cplusplus |
| | extern "C" { |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | #define XML_CAST_FPTR(fptr) fptr |
| |
|
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | typedef void (*xmlHashDeallocator)(void *payload, const xmlChar *name); |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | typedef void *(*xmlHashCopier)(void *payload, const xmlChar *name); |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | typedef void (*xmlHashScanner)(void *payload, void *data, const xmlChar *name); |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | typedef void (*xmlHashScannerFull)(void *payload, void *data, |
| | const xmlChar *name, const xmlChar *name2, |
| | const xmlChar *name3); |
| |
|
| | |
| | |
| | |
| | XMLPUBFUN xmlHashTablePtr |
| | xmlHashCreate (int size); |
| | XMLPUBFUN xmlHashTablePtr |
| | xmlHashCreateDict(int size, |
| | xmlDictPtr dict); |
| | XMLPUBFUN void |
| | xmlHashFree (xmlHashTablePtr table, |
| | xmlHashDeallocator f); |
| | XMLPUBFUN void |
| | xmlHashDefaultDeallocator(void *entry, |
| | const xmlChar *name); |
| |
|
| | |
| | |
| | |
| | XMLPUBFUN int |
| | xmlHashAddEntry (xmlHashTablePtr table, |
| | const xmlChar *name, |
| | void *userdata); |
| | XMLPUBFUN int |
| | xmlHashUpdateEntry(xmlHashTablePtr table, |
| | const xmlChar *name, |
| | void *userdata, |
| | xmlHashDeallocator f); |
| | XMLPUBFUN int |
| | xmlHashAddEntry2(xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *name2, |
| | void *userdata); |
| | XMLPUBFUN int |
| | xmlHashUpdateEntry2(xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *name2, |
| | void *userdata, |
| | xmlHashDeallocator f); |
| | XMLPUBFUN int |
| | xmlHashAddEntry3(xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *name2, |
| | const xmlChar *name3, |
| | void *userdata); |
| | XMLPUBFUN int |
| | xmlHashUpdateEntry3(xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *name2, |
| | const xmlChar *name3, |
| | void *userdata, |
| | xmlHashDeallocator f); |
| |
|
| | |
| | |
| | |
| | XMLPUBFUN int |
| | xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name, |
| | xmlHashDeallocator f); |
| | XMLPUBFUN int |
| | xmlHashRemoveEntry2(xmlHashTablePtr table, const xmlChar *name, |
| | const xmlChar *name2, xmlHashDeallocator f); |
| | XMLPUBFUN int |
| | xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name, |
| | const xmlChar *name2, const xmlChar *name3, |
| | xmlHashDeallocator f); |
| |
|
| | |
| | |
| | |
| | XMLPUBFUN void * |
| | xmlHashLookup (xmlHashTablePtr table, |
| | const xmlChar *name); |
| | XMLPUBFUN void * |
| | xmlHashLookup2 (xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *name2); |
| | XMLPUBFUN void * |
| | xmlHashLookup3 (xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *name2, |
| | const xmlChar *name3); |
| | XMLPUBFUN void * |
| | xmlHashQLookup (xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *prefix); |
| | XMLPUBFUN void * |
| | xmlHashQLookup2 (xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *prefix, |
| | const xmlChar *name2, |
| | const xmlChar *prefix2); |
| | XMLPUBFUN void * |
| | xmlHashQLookup3 (xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *prefix, |
| | const xmlChar *name2, |
| | const xmlChar *prefix2, |
| | const xmlChar *name3, |
| | const xmlChar *prefix3); |
| |
|
| | |
| | |
| | |
| | XMLPUBFUN xmlHashTablePtr |
| | xmlHashCopy (xmlHashTablePtr table, |
| | xmlHashCopier f); |
| | XMLPUBFUN int |
| | xmlHashSize (xmlHashTablePtr table); |
| | XMLPUBFUN void |
| | xmlHashScan (xmlHashTablePtr table, |
| | xmlHashScanner f, |
| | void *data); |
| | XMLPUBFUN void |
| | xmlHashScan3 (xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *name2, |
| | const xmlChar *name3, |
| | xmlHashScanner f, |
| | void *data); |
| | XMLPUBFUN void |
| | xmlHashScanFull (xmlHashTablePtr table, |
| | xmlHashScannerFull f, |
| | void *data); |
| | XMLPUBFUN void |
| | xmlHashScanFull3(xmlHashTablePtr table, |
| | const xmlChar *name, |
| | const xmlChar *name2, |
| | const xmlChar *name3, |
| | xmlHashScannerFull f, |
| | void *data); |
| | #ifdef __cplusplus |
| | } |
| | #endif |
| | #endif |
| |
|