2 * Copyright (C) 2010 Brian Aker
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
8 * Summary: hash interface code
12 #ifndef __MEMCACHED_HASH_H__
13 #define __MEMCACHED_HASH_H__
19 /* The two public hash bits */
21 uint32_t memcached_generate_hash_value(const char *key
, size_t key_length
, memcached_hash_t hash_algorithm
);
24 hashkit_st
*memcached_get_hashkit(memcached_st
*ptr
);
27 uint32_t memcached_generate_hash(memcached_st
*ptr
, const char *key
, size_t key_length
);
34 #endif /* __MEMCACHED_HASH_H__ */