ck_ht_hash3
Generate a hash value for a hash table
Usage
#include <ck_ht.h>
void
ck_ht_hash(ck_ht_hash_t *h, ck_ht_t *ht, const void *key, uint16_t key_length);
Library
Concurrency Kit (libck, -lck)
Overview
The ck_ht_hash() function will generate a hash value in the object pointed to by the h argument. The hash value is valid for use in the hash table pointed to by the ht argument for the key (of bytestring type) specified by the key argument. The length of the key is specified by the key_length argument.
Return values
ck_ht_hash() has no return value.
Errors
Behavior is undefined if key is NULL or if ht is uninitialized.
Releases
Unchanged in 5 releases since Debian 8 (Jessie).