Eneboo - Documentación para desarrolladores
'defines' | 'typedefs'
Referencia del Archivo src/libdigidoc/libxml2/include/libxml/hash.h
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
#include <libxml/dict.h>

Ir al código fuente de este archivo.

'defines'

#define XML_CAST_FPTR(fptr)   fptr

'typedefs'

typedef struct _xmlHashTable xmlHashTable
typedef xmlHashTablexmlHashTablePtr
: the name associated

xmlHashScannerFull: : the data in the hash : extra scannner data

typedef void(* xmlHashDeallocator )(void *payload, xmlChar *name)
typedef void *(* xmlHashCopier )(void *payload, xmlChar *name)
typedef void(* xmlHashScanner )(void *payload, void *data, xmlChar *name)

3: the third name associated

Callback when scanning data in a hash with the full scanner.

typedef void(* xmlHashScannerFull )(void *payload, void *data, const xmlChar *name, const xmlChar *name2, const xmlChar *name3)
XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCreate (int size)
XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCreateDict (int size, xmlDictPtr dict)
XMLPUBFUN void XMLCALL xmlHashFree (xmlHashTablePtr table, xmlHashDeallocator f)
XMLPUBFUN int XMLCALL xmlHashAddEntry (xmlHashTablePtr table, const xmlChar *name, void *userdata)
XMLPUBFUN int XMLCALL xmlHashUpdateEntry (xmlHashTablePtr table, const xmlChar *name, void *userdata, xmlHashDeallocator f)
XMLPUBFUN int XMLCALL xmlHashAddEntry2 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, void *userdata)
XMLPUBFUN int XMLCALL xmlHashUpdateEntry2 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, void *userdata, xmlHashDeallocator f)
XMLPUBFUN int XMLCALL xmlHashAddEntry3 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, const xmlChar *name3, void *userdata)
XMLPUBFUN int XMLCALL xmlHashUpdateEntry3 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, const xmlChar *name3, void *userdata, xmlHashDeallocator f)
XMLPUBFUN int XMLCALL xmlHashRemoveEntry (xmlHashTablePtr table, const xmlChar *name, xmlHashDeallocator f)
XMLPUBFUN int XMLCALL xmlHashRemoveEntry2 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, xmlHashDeallocator f)
XMLPUBFUN int XMLCALL xmlHashRemoveEntry3 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, const xmlChar *name3, xmlHashDeallocator f)
XMLPUBFUN void *XMLCALL xmlHashLookup (xmlHashTablePtr table, const xmlChar *name)
XMLPUBFUN void *XMLCALL xmlHashLookup2 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2)
XMLPUBFUN void *XMLCALL xmlHashLookup3 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, const xmlChar *name3)
XMLPUBFUN void *XMLCALL xmlHashQLookup (xmlHashTablePtr table, const xmlChar *name, const xmlChar *prefix)
XMLPUBFUN void *XMLCALL xmlHashQLookup2 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *prefix, const xmlChar *name2, const xmlChar *prefix2)
XMLPUBFUN void *XMLCALL xmlHashQLookup3 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *prefix, const xmlChar *name2, const xmlChar *prefix2, const xmlChar *name3, const xmlChar *prefix3)
XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCopy (xmlHashTablePtr table, xmlHashCopier f)
XMLPUBFUN int XMLCALL xmlHashSize (xmlHashTablePtr table)
XMLPUBFUN void XMLCALL xmlHashScan (xmlHashTablePtr table, xmlHashScanner f, void *data)
XMLPUBFUN void XMLCALL xmlHashScan3 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, const xmlChar *name3, xmlHashScanner f, void *data)
XMLPUBFUN void XMLCALL xmlHashScanFull (xmlHashTablePtr table, xmlHashScannerFull f, void *data)
XMLPUBFUN void XMLCALL xmlHashScanFull3 (xmlHashTablePtr table, const xmlChar *name, const xmlChar *name2, const xmlChar *name3, xmlHashScannerFull f, void *data)

Documentación de los 'defines'

#define XML_CAST_FPTR (   fptr)    fptr

XML_CAST_FPTR: : pointer to a function

Macro to do a casting from an object pointer to a function pointer without encountering a warning from gcc

#define XML_CAST_FPTR(fptr) (*(void **)(&fptr)) This macro violated ISO C aliasing rules (gcc4 on s390 broke) so it is disabled now


Documentación de los 'typedefs'

typedef void*(* xmlHashCopier)(void *payload, xmlChar *name)
typedef void(* xmlHashDeallocator)(void *payload, xmlChar *name)
typedef void(* xmlHashScanner)(void *payload, void *data, xmlChar *name)
typedef void(* xmlHashScannerFull)(void *payload, void *data, const xmlChar *name, const xmlChar *name2, const xmlChar *name3)
typedef struct _xmlHashTable xmlHashTable

Documentación de las funciones

XMLPUBFUN int XMLCALL xmlHashAddEntry ( xmlHashTablePtr  table,
const xmlChar name,
void *  userdata 
)
XMLPUBFUN int XMLCALL xmlHashAddEntry2 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
void *  userdata 
)
XMLPUBFUN int XMLCALL xmlHashAddEntry3 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
const xmlChar name3,
void *  userdata 
)
XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCopy ( xmlHashTablePtr  table,
xmlHashCopier  f 
)

xmlHashCopy: : the hash table : the copier function for items in the hash

Scan the hash and applied to each value.

Returns the new table or NULL in case of error.

XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCreate ( int  size)

xmlHashCreate: : the size of the hash table

Create a new xmlHashTablePtr.

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

XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCreateDict ( int  size,
xmlDictPtr  dict 
)

xmlHashCreateDict: : the size of the hash table : a dictionary to use for the hash

Create a new xmlHashTablePtr which will use as the internal dictionary

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

XMLPUBFUN void XMLCALL xmlHashFree ( xmlHashTablePtr  table,
xmlHashDeallocator  f 
)

xmlHashFree: : the hash table : the deallocator function for items in the hash

Free the hash and its contents. The userdata is deallocated with if provided.

XMLPUBFUN void* XMLCALL xmlHashLookup ( xmlHashTablePtr  table,
const xmlChar name 
)
XMLPUBFUN void* XMLCALL xmlHashLookup2 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2 
)
XMLPUBFUN void* XMLCALL xmlHashLookup3 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
const xmlChar name3 
)
XMLPUBFUN void* XMLCALL xmlHashQLookup ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar prefix 
)
XMLPUBFUN void* XMLCALL xmlHashQLookup2 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar prefix,
const xmlChar name2,
const xmlChar prefix2 
)
XMLPUBFUN void* XMLCALL xmlHashQLookup3 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar prefix,
const xmlChar name2,
const xmlChar prefix2,
const xmlChar name3,
const xmlChar prefix3 
)
XMLPUBFUN int XMLCALL xmlHashRemoveEntry ( xmlHashTablePtr  table,
const xmlChar name,
xmlHashDeallocator  f 
)
XMLPUBFUN int XMLCALL xmlHashRemoveEntry2 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
xmlHashDeallocator  f 
)
XMLPUBFUN int XMLCALL xmlHashRemoveEntry3 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
const xmlChar name3,
xmlHashDeallocator  f 
)
XMLPUBFUN void XMLCALL xmlHashScan ( xmlHashTablePtr  table,
xmlHashScanner  f,
void *  data 
)

xmlHashScan: : the hash table : the scanner function for items in the hash : extra data passed to f

Scan the hash and applied to each value.

XMLPUBFUN void XMLCALL xmlHashScan3 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
const xmlChar name3,
xmlHashScanner  f,
void *  data 
)
XMLPUBFUN void XMLCALL xmlHashScanFull ( xmlHashTablePtr  table,
xmlHashScannerFull  f,
void *  data 
)

xmlHashScanFull: : the hash table : the scanner function for items in the hash : extra data passed to f

Scan the hash and applied to each value.

XMLPUBFUN void XMLCALL xmlHashScanFull3 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
const xmlChar name3,
xmlHashScannerFull  f,
void *  data 
)
XMLPUBFUN int XMLCALL xmlHashSize ( xmlHashTablePtr  table)

xmlHashSize: : the hash table

Query the number of elements installed in the hash .

Returns the number of elements in the hash table or -1 in case of error

XMLPUBFUN int XMLCALL xmlHashUpdateEntry ( xmlHashTablePtr  table,
const xmlChar name,
void *  userdata,
xmlHashDeallocator  f 
)
XMLPUBFUN int XMLCALL xmlHashUpdateEntry2 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
void *  userdata,
xmlHashDeallocator  f 
)
XMLPUBFUN int XMLCALL xmlHashUpdateEntry3 ( xmlHashTablePtr  table,
const xmlChar name,
const xmlChar name2,
const xmlChar name3,
void *  userdata,
xmlHashDeallocator  f 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'