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