#include "errors.h"
#include "util.h"
Go to the source code of this file.
Data Structures | |
| struct | aw_hash32_entry_t |
| struct | aw_hash32_t |
| struct | aw_hash64_entry_t |
| struct | aw_hash64_t |
| struct | aw_hashString_entry_t |
| struct | aw_hashString_t |
Defines | |
| #define | AW_HASH_NULL_KEY 0 |
Functions | |
| void | aw_hash32_clear (aw_hash32_t *ht) |
| Reset hash. | |
| void | aw_hash32_delete (u_int32_t key, aw_hash32_t *ht) |
| Delete user_pointer associated with key. | |
| void | aw_hash32_destroy (aw_hash32_t *ht) |
| Free Hash. | |
| void * | aw_hash32_fetch (u_int32_t key, const aw_hash32_t *ht) |
| Return user_pointer associated with key. | |
| int32_t | aw_hash32_incr (u_int32_t key, int32_t incr, aw_hash32_t *ht) |
| interpret the user pointer as a 32bit signed int and increment by 'incr' | |
| int | aw_hash32_insert (u_int32_t key, void *user_pointer, aw_hash32_t *ht) |
| Associated key with user_pointer in ht. | |
| aw_hash32_t * | aw_hash32_make (u_int32_t nentries) |
| Create closed hash table using 32bit keys. | |
| void | aw_hash32_map (aw_hash32_t *ht, void *user_pointer, void(*eval)(void *user_pointer, u_int32_t key, void *valuer_ptr)) |
| eval( user_pointer, key, value_ptr ) for all elements | |
| void | aw_hash32_thin (aw_hash32_t *ht, void *user_pointer, u_int32_t(*eval)(void *user_pointer, void *valuer_ptr)) |
| free the memory for those nodes that eval( user_pointer, value_ptr ) returns non-zero | |
| void | aw_hash64_clear (aw_hash64_t *ht) |
| Reset hash. | |
| void | aw_hash64_delete (u_int64_t key, aw_hash64_t *ht) |
| Delete user_pointer associated with key. | |
| void | aw_hash64_destroy (aw_hash64_t *ht) |
| Free Hash. | |
| void * | aw_hash64_fetch (u_int64_t key, const aw_hash64_t *ht) |
| Return user_pointer associated with key. | |
| int32_t | aw_hash64_incr (u_int64_t key, int32_t incr, aw_hash64_t *ht) |
| interpret the user pointer as a 32bit signed int and increment by 'incr' | |
| int | aw_hash64_insert (u_int64_t key, void *user_pointer, aw_hash64_t *ht) |
| Associated key with user_pointer in ht. | |
| aw_hash64_t * | aw_hash64_make (u_int32_t nentries) |
| Create closed hash table using 64bit keys. | |
| void | aw_hash64_map (aw_hash64_t *ht, void *user_pointer, void(*eval)(void *user_pointer, u_int64_t key, void *valuer_ptr)) |
| eval( user_pointer, key, value_ptr ) for all elements | |
| void | aw_hash64_thin (aw_hash64_t *ht, void *user_pointer, u_int32_t(*eval)(void *user_pointer, void *valuer_ptr)) |
| free the memory for those nodes that eval( user_pointer, value_ptr ) returns non-zero | |
| void | aw_hashString_clear (aw_hashString_t *ht) |
| Reset hash. | |
| void | aw_hashString_delete (const byte_t *key, aw_hashString_t *ht) |
| Delete user_pointer associated with key. | |
| void | aw_hashString_destroy (aw_hashString_t *ht) |
| Free Hash. | |
| void * | aw_hashString_fetch (const byte_t *key, const aw_hashString_t *ht) |
| Return user_pointer associated with key. | |
| int | aw_hashString_insert (const byte_t *key, void *user_pointer, aw_hashString_t *ht) |
| Associated key with user_pointer in ht. | |
| aw_hashString_t * | aw_hashString_make (u_int32_t nentries) |
| Create closed hash table using 32bit keys. | |
| void | aw_hashString_map (aw_hashString_t *ht, void *user_pointer, void(*eval)(void *user_pointer, byte_t *key, void *valuer_ptr)) |
| eval( user_pointer, key, value_ptr ) for all elements | |
| void | aw_hashString_thin (aw_hashString_t *ht, void *user_pointer, u_int32_t(*eval)(void *user_pointer, void *valuer_ptr)) |
| free the memory for those nodes that eval( user_pointer, value_ptr ) returns non-zero | |
|
|
|
|
|
Reset hash. aw_hash32_clear
|
|
||||||||||||
|
Delete user_pointer associated with key. aw_hash32_delete
|
|
|
Free Hash. aw_hash32_destroy
|
|
||||||||||||
|
Return user_pointer associated with key. aw_hash32_fetch
|
|
||||||||||||||||
|
interpret the user pointer as a 32bit signed int and increment by 'incr' aw_hash32_incr
|
|
||||||||||||||||
|
Associated key with user_pointer in ht. aw_hash32_insert
|
|
|
Create closed hash table using 32bit keys. aw_hash32_make
|
|
||||||||||||||||
|
eval( user_pointer, key, value_ptr ) for all elements aw_hash32_map
|
|
||||||||||||||||
|
free the memory for those nodes that eval( user_pointer, value_ptr ) returns non-zero aw_hash32_thin
|
|
|
Reset hash. aw_hash64_clear
|
|
||||||||||||
|
Delete user_pointer associated with key. aw_hash64_delete
|
|
|
Free Hash. aw_hash64_destroy
|
|
||||||||||||
|
Return user_pointer associated with key. aw_hash64_fetch
|
|
||||||||||||||||
|
interpret the user pointer as a 32bit signed int and increment by 'incr' aw_hash64_incr
|
|
||||||||||||||||
|
Associated key with user_pointer in ht. aw_hash64_insert
|
|
|
Create closed hash table using 64bit keys. aw_hash64_make
|
|
||||||||||||||||
|
eval( user_pointer, key, value_ptr ) for all elements aw_hash64_map
|
|
||||||||||||||||
|
free the memory for those nodes that eval( user_pointer, value_ptr ) returns non-zero aw_hash64_thin
|
|
|
Reset hash. aw_hashString_clear
|
|
||||||||||||
|
Delete user_pointer associated with key. aw_hashString_delete
|
|
|
Free Hash. aw_hashString_destroy
|
|
||||||||||||
|
Return user_pointer associated with key. aw_hashString_fetch
|
|
||||||||||||||||
|
Associated key with user_pointer in ht. aw_hashString_insert
|
|
|
Create closed hash table using 32bit keys. aw_hashString_make
|
|
||||||||||||||||
|
eval( user_pointer, key, value_ptr ) for all elements aw_hashString_map
|
|
||||||||||||||||
|
free the memory for those nodes that eval( user_pointer, value_ptr ) returns non-zero aw_hashString_thin
|