|
|
|
@ -88,7 +88,8 @@ typedef struct ck_hs_iterator ck_hs_iterator_t;
|
|
|
|
|
|
|
|
|
|
void ck_hs_iterator_init(ck_hs_iterator_t *);
|
|
|
|
|
bool ck_hs_next(ck_hs_t *, ck_hs_iterator_t *, void **);
|
|
|
|
|
bool ck_hs_init(ck_hs_t *, unsigned int, ck_hs_hash_cb_t *, ck_hs_compare_cb_t *, struct ck_malloc *, unsigned long, unsigned long);
|
|
|
|
|
bool ck_hs_init(ck_hs_t *, unsigned int, ck_hs_hash_cb_t *,
|
|
|
|
|
ck_hs_compare_cb_t *, struct ck_malloc *, unsigned long, unsigned long);
|
|
|
|
|
void ck_hs_destroy(ck_hs_t *);
|
|
|
|
|
void *ck_hs_get(ck_hs_t *, unsigned long, const void *);
|
|
|
|
|
bool ck_hs_put(ck_hs_t *, unsigned long, const void *);
|
|
|
|
@ -100,3 +101,4 @@ bool ck_hs_reset(ck_hs_t *);
|
|
|
|
|
void ck_hs_stat(ck_hs_t *, struct ck_hs_stat *);
|
|
|
|
|
|
|
|
|
|
#endif /* _CK_HS_H */
|
|
|
|
|
|
|
|
|
|