27 #ifndef INCL_UTIL_XHASH_H 28 #define INCL_UTIL_XHASH_H 1 JABBERD2_API void xhash_zap(xht h, const char *key)
JABBERD2_API void * xhash_get(xht h, const char *key)
struct xhn_struct * free_list
JABBERD2_API void xhash_stat(xht h)
JABBERD2_API void xhash_iter_zap(xht h)
JABBERD2_API int xhash_dirty(xht h)
return the dirty flag (and reset)
JABBERD2_API int xhash_iter_next(xht h)
void(* xhash_walker)(const char *key, int keylen, void *val, void *arg)
JABBERD2_API void xhash_putx(xht h, const char *key, int len, void *val)
JABBERD2_API void xhash_walk(xht h, xhash_walker w, void *arg)
JABBERD2_API void * xhash_getx(xht h, const char *key, int len)
JABBERD2_API int xhash_iter_get(xht h, const char **key, int *keylen, void **val)
JABBERD2_API xht xhash_new(int prime)
JABBERD2_API void xhash_free(xht h)
JABBERD2_API int xhash_count(xht h)
return the total number of entries in this xht
JABBERD2_API void xhash_zapx(xht h, const char *key, int len)
JABBERD2_API int xhash_iter_first(xht h)
iteration
pool - base node for a pool.
JABBERD2_API pool_t xhash_pool(xht h)
get our pool
JABBERD2_API void xhash_put(xht h, const char *key, void *val)