#include <stdio.h>#include <string.h>#include <stdlib.h>#include <openssl/crypto.h>#include <openssl/lhash.h>Go to the source code of this file.
Macros | |
| #define | MIN_NODES 16 |
| #define | UP_LOAD (2*LH_LOAD_MULT) /* load times 256 (default 2) */ |
| #define | DOWN_LOAD (LH_LOAD_MULT) /* load times 256 (default 1) */ |
Functions | |
| _LHASH * | lh_new (LHASH_HASH_FN_TYPE h, LHASH_COMP_FN_TYPE c) |
| void | lh_free (_LHASH *lh) |
| void * | lh_insert (_LHASH *lh, void *data) |
| void * | lh_delete (_LHASH *lh, const void *data) |
| void * | lh_retrieve (_LHASH *lh, const void *data) |
| void | lh_doall (_LHASH *lh, LHASH_DOALL_FN_TYPE func) |
| void | lh_doall_arg (_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg) |
| unsigned long | lh_strhash (const char *c) |
| unsigned long | lh_num_items (const _LHASH *lh) |
Variables | |
| const char | lh_version [] ="lhash" OPENSSL_VERSION_PTEXT |
| #define DOWN_LOAD (LH_LOAD_MULT) /* load times 256 (default 1) */ |
| #define UP_LOAD (2*LH_LOAD_MULT) /* load times 256 (default 2) */ |
| void lh_doall | ( | _LHASH * | lh, |
| LHASH_DOALL_FN_TYPE | func | ||
| ) |
| void lh_doall_arg | ( | _LHASH * | lh, |
| LHASH_DOALL_ARG_FN_TYPE | func, | ||
| void * | arg | ||
| ) |
| _LHASH* lh_new | ( | LHASH_HASH_FN_TYPE | h, |
| LHASH_COMP_FN_TYPE | c | ||
| ) |
1.8.2