merge.
[m6w6/libmemcached] / libhashkit / common.h
1 /* HashKit
2 * Copyright (C) 2009 Brian Aker
3 * All rights reserved.
4 *
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
7 */
8
9 #ifndef HASHKIT_COMMON_H
10 #define HASHKIT_COMMON_H
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #include "config.h"
17
18 #include <assert.h>
19 #include <errno.h>
20 #include <stdio.h>
21 #include <stdlib.h>
22 #include <math.h>
23
24 #include "hashkit.h"
25
26 HASHKIT_LOCAL
27 void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
28
29 HASHKIT_LOCAL
30 int update_continuum(hashkit_st *hashkit);
31
32 #ifdef __cplusplus
33 }
34 #endif
35
36 #endif /* HASHKIT_COMMON_H */