X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=dff3ab0bc92eedaad6ffce0abb4ec138f20c5dfa;hb=fb56c33bb68eef382af7273308b0fbf9448c21e0;hp=0a7ac845eac15291e1636f94cb3cba51884af969;hpb=55b5455291498ef63c1c34976552d58708a74732;p=awesomized%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 */