Lines Matching refs:LHASH
92 /* Macros for declaring and implementing type-safe wrappers for LHASH callbacks.
93 * This way, callbacks can be provided to LHASH structures without function
165 } LHASH;
173 LHASH *lh_new(LHASH_HASH_FN_TYPE h, LHASH_COMP_FN_TYPE c);
174 void lh_free(LHASH *lh);
175 void *lh_insert(LHASH *lh, const void *data);
176 void *lh_delete(LHASH *lh, const void *data);
177 void *lh_retrieve(LHASH *lh, const void *data);
178 void lh_doall(LHASH *lh, LHASH_DOALL_FN_TYPE func);
179 void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg);
181 unsigned long lh_num_items(const LHASH *lh);
184 void lh_stats(const LHASH *lh, FILE *out);
185 void lh_node_stats(const LHASH *lh, FILE *out);
186 void lh_node_usage_stats(const LHASH *lh, FILE *out);
190 void lh_stats_bio(const LHASH *lh, BIO *out);
191 void lh_node_stats_bio(const LHASH *lh, BIO *out);
192 void lh_node_usage_stats_bio(const LHASH *lh, BIO *out);