hashkit_value(3)

hashkit_value3

Libhashkit documentation

Usage

#include <libhashkit-1.0/hashkit.h>

Compile and link with -lhashkit

uint32_t hashkit_value(hashkit_st <#_CPPv410hashkit_st> *hash, const char *key, size_t key_length)
Parameters
•

hash -- pointer to an initialized hashkit_st <#_CPPv410hashkit_st> struct

•

key -- the key to genereate a hash of

•

key_length -- the length of the key without any terminating zero byte

Overview

The hashkit_value() function generates a 32-bit hash value from the given key and key_length. The hash argument is an initialized hashkit object, and distribution type and hash function is used from this object while generating the value.

Return value

A 32-bit hash value.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8–11
  4. 12
  5. 13
  6. Arch

From libmemcached-awesome 1.1.4-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.