Update all of the build/spec files.
[awesomized/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 #pragma once
10
11 #include <config.h>
12
13 #include <assert.h>
14 #include <errno.h>
15 #include <stdio.h>
16 #include <stdlib.h>
17 #include <math.h>
18
19 #include <libhashkit-1.0/hashkit.h>
20 #include <libhashkit/is.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
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