X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=73b198f589aa05c5ce640c9e5b6377b00125e206;hb=5ee06c299a110bf610dc148580e585a8f217a22b;hp=0a7ac845eac15291e1636f94cb3cba51884af969;hpb=1fefa980a1f3a88df3eb1db02e2319d754aebe75;p=m6w6%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index 0a7ac845..73b198f5 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -6,15 +6,10 @@ * the COPYING file in the parent directory for full text. */ -/** - * @file - * @brief System Include Files - */ - #ifndef HASHKIT_COMMON_H #define HASHKIT_COMMON_H -#include "config.h" +#include #include #include @@ -22,7 +17,11 @@ #include #include -#include "hashkit.h" +#include + +#ifdef __cplusplus +extern "C" { +#endif HASHKIT_LOCAL void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result); @@ -30,4 +29,8 @@ void md5_signature(const unsigned char *key, unsigned int length, unsigned char HASHKIT_LOCAL int update_continuum(hashkit_st *hashkit); +#ifdef __cplusplus +} +#endif + #endif /* HASHKIT_COMMON_H */