#include <stdio.h>#include <stdlib.h>#include <string.h>#include "hash.h"Go to the source code of this file.
Data Structures | |
| struct | hash_element_ |
| struct | hash_tab_ |
Defines | |
| #define | MAXINT (((unsigned) ~ 0) >> 1) |
| #define | MAXLEN 128 |
Typedefs | |
| typedef struct hash_element_ | BUCKET |
| typedef struct hash_tab_ | HASH_TAB |
Functions | |
| HASH | HashCreate (int size, int(*compare)(), unsigned(*hashfunc)()) |
| void | HashDestroy (HASH hash, void(*freeentry)()) |
| void * | HashFind (HASH hash, void *entry) |
| void * | HashAdd (HASH hash, void *entry) |
| void * | HashDelete (HASH hash, void *entry) |
| int | HashList (HASH hash, int(*listentry)(), void *userdata) |
| void | HastStats (HASH hash) |
| typedef struct hash_element_ BUCKET |
| HASH HashCreate | ( | int | size, | |
| int (*)() | compare, | |||
| unsigned (*)() | hashfunc | |||
| ) |
| int HashList | ( | HASH | hash, | |
| int (*)() | listentry, | |||
| void * | userdata | |||
| ) |
1.5.9