1CK_HS_HASH(3)            BSD Library Functions Manual            CK_HS_HASH(3)
2

NAME

4     CK_HS_HASH — invoke hash function with hash set seed
5

LIBRARY

7     Concurrency Kit (libck, -lck)
8

SYNOPSIS

10     #include <ck_hs.h>
11
12     unsigned long
13     CK_HS_HASH(ck_hs_t *hs, ck_hs_hash_cb_t *hf, const void *key);
14

DESCRIPTION

16     The CK_HS_HASH(3) macro will invoke the hash function pointed to by the
17     hf argument with the seed value associated with hs and the key pointer
18     specified by the key argument.
19

RETURN VALUES

21     This function will return the value returned by the hf function.
22

ERRORS

24     It is expected hs was previously initialized via ck_hs_init(3).
25

SEE ALSO

27     ck_hs_init(3), ck_hs_destroy(3), ck_hs_iterator_init(3), ck_hs_next(3),
28     ck_hs_get(3), ck_hs_put(3), ck_hs_set(3), ck_hs_remove(3), ck_hs_grow(3),
29     ck_hs_count(3), ck_hs_reset(3), ck_hs_stat(3)
30
31     Additional information available at http://concurrencykit.org/
32
33                                March 28, 2012
Impressum