hashkit_get_function
libhashkit Documentation
- Provided by: libhashkit-dev (Version: 1.1.4-1.1build3)
- Source: libmemcached
- Report a bug
libhashkit Documentation
These functions are used to set and retrieve the key and distribution hash functions.
hashkit_set_function(), hashkit_set_custom_function() and the distribution equivalents return hashkit_return_t::HASHKIT_SUCCESS on success.
hashkit_get_function() and hashkit_get_distribution_function() return hashkit_hash_algorithm_t indicating the hash function used.