#include <limits.h>
#include <atalk/hash.h>
Go to the source code of this file.
|
hash_t * | hash_create (hashcount_t, hash_comp_t, hash_fun_t) |
void | hash_set_allocator (hash_t *, hnode_alloc_t, hnode_free_t, void *) |
void | hash_destroy (hash_t *) |
void | hash_free_nodes (hash_t *) |
void | hash_free (hash_t *) |
hash_t * | hash_init (hash_t *, hashcount_t, hash_comp_t, hash_fun_t, hnode_t **, hashcount_t) |
void | hash_insert (hash_t *, hnode_t *, const void *) |
hnode_t * | hash_lookup (hash_t *, const void *) |
hnode_t * | hash_delete (hash_t *, hnode_t *) |
int | hash_alloc_insert (hash_t *, const void *, void *) |
void | hash_delete_free (hash_t *, hnode_t *) |
void | hnode_put (hnode_t *, void *) |
void * | hnode_get (hnode_t *) |
const void * | hnode_getkey (hnode_t *) |
hashcount_t | hash_count (hash_t *) |
hashcount_t | hash_size (hash_t *) |
int | hash_isfull (hash_t *) |
int | hash_isempty (hash_t *) |
void | hash_scan_begin (hscan_t *, hash_t *) |
hnode_t * | hash_scan_next (hscan_t *) |
hnode_t * | hash_scan_delete (hash_t *, hnode_t *) |
void | hash_scan_delfree (hash_t *, hnode_t *) |
int | hash_verify (hash_t *) |
hnode_t * | hnode_create (void *) |
hnode_t * | hnode_init (hnode_t *, void *) |
void | hnode_destroy (hnode_t *) |
◆ hash_count
◆ hash_isempty
#define hash_isempty |
( |
| H | ) |
|
Value:((H)->hash_nodecount == 0)
◆ hash_isfull
Value:((H)->hash_nodecount == (H)->hash_maxcount)
◆ hash_size
◆ hnode_get
◆ hnode_getkey
#define hnode_getkey |
( |
| N | ) |
|
◆ hnode_put
#define hnode_put |
( |
| N, |
|
|
| V ) |
◆ hash_alloc_insert()
int hash_alloc_insert |
( |
hash_t * | hash, |
|
|
const void * | key, |
|
|
void * | data ) |
|
extern |
◆ hash_count()
◆ hash_create()
◆ hash_delete()
◆ hash_delete_free()
◆ hash_destroy()
void hash_destroy |
( |
hash_t * | hash | ) |
|
|
extern |
◆ hash_free()
◆ hash_free_nodes()
void hash_free_nodes |
( |
hash_t * | hash | ) |
|
|
extern |
◆ hash_init()
◆ hash_insert()
void hash_insert |
( |
hash_t * | hash, |
|
|
hnode_t * | node, |
|
|
const void * | key ) |
|
extern |
◆ hash_isempty()
◆ hash_isfull()
◆ hash_lookup()
◆ hash_scan_begin()
◆ hash_scan_delete()
◆ hash_scan_delfree()
◆ hash_scan_next()
◆ hash_set_allocator()
◆ hash_size()
◆ hash_verify()
int hash_verify |
( |
hash_t * | hash | ) |
|
|
extern |
◆ hnode_create()
◆ hnode_destroy()
◆ hnode_get()
◆ hnode_getkey()
const void * hnode_getkey |
( |
hnode_t * | node | ) |
|
|
extern |
◆ hnode_init()
◆ hnode_put()
void hnode_put |
( |
hnode_t * | , |
|
|
void * | ) |
|
extern |