X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=dff3ab0bc92eedaad6ffce0abb4ec138f20c5dfa;hb=16c2fe9cc04a3f15fe56d3be2f3be19a1d731fb2;hp=0a7ac845eac15291e1636f94cb3cba51884af969;hpb=dec0636927f5d0ae4cf06ad2710d022990419879;p=m6w6%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index 0a7ac845..dff3ab0b 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -6,11 +6,6 @@ * the COPYING file in the parent directory for full text. */ -/** - * @file - * @brief System Include Files - */ - #ifndef HASHKIT_COMMON_H #define HASHKIT_COMMON_H @@ -24,10 +19,18 @@ #include "hashkit.h" +#ifdef __cplusplus +extern "C" { +#endif + HASHKIT_LOCAL void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result); HASHKIT_LOCAL int update_continuum(hashkit_st *hashkit); +#ifdef __cplusplus +} +#endif + #endif /* HASHKIT_COMMON_H */