Fixed header file layout
[m6w6/libmemcached] / libmemcached / memcached_hash.h
1 /*
2 * Summary: Hash functions for libmemcached
3 *
4 * Copy: See Copyright for the status of this software.
5 *
6 * Author: Trond Norbye
7 */
8
9 #ifndef LIBMEMCACHED_MEMCACHED_HASH_H
10 #define LIBMEMCACHED_MEMCACHED_HASH_H
11
12 #ifndef LIBMEMCACHED_MEMCACHED_H
13 #error "Please include <libmemcached/memcached.h> instead"
14 #endif
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 LIBMEMCACHED_API
21 uint32_t memcached_generate_hash_value(const char *key, size_t key_length, memcached_hash hash_algorithm);
22 LIBMEMCACHED_API
23 uint32_t memcached_generate_hash(memcached_st *ptr, const char *key, size_t key_length);
24
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif /* LIBMEMCACHED_MEMCACHED_HASH_H */