#include <stdio.h>#include <stdlib.h>#include <string.h>#include "hash.h"Include dependency graph for hash.c:

Go to the source code of this file.
Data Structures | |
| struct | hash_node_t |
Defines | |
| #define | HASH_LIMIT 0.5 |
Typedefs | |
| typedef hash_node_t | hash_node_t |
Functions | |
| int | hash (const hash_t *tptr, const char *key) |
| void | rebuild_table (hash_t *tptr) |
| void | hash_init (hash_t *tptr, int buckets) |
| void * | hash_lookup (const hash_t *tptr, const char *key) |
| void * | hash_insert (hash_t *tptr, const char *key, void *data) |
| void * | hash_delete (hash_t *tptr, const char *key) |
| void | hash_destroy (hash_t *tptr, void(*free_data)(void *)) |
| float | alos (hash_t *tptr) |
| char * | hash_stats (hash_t *tptr) |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
1.2.18