Commit 7e255f5d authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

added extern C to server header

parent 29e3acc0
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
#include <sdskv-server.h> #include <sdskv-server.h>
/* server-side utilities and routines. Clients are looking for either /* server-side utilities and routines. Clients are looking for either
* libmobject-store.h or librados-mobject-store.h */ * libmobject-store.h or librados-mobject-store.h */
#ifdef __cplusplus
extern "C" {
#endif
#define MOBJECT_SERVER_GROUP_NAME "mobject-store-servers" #define MOBJECT_SERVER_GROUP_NAME "mobject-store-servers"
#define MOBJECT_ABT_POOL_DEFAULT ABT_POOL_NULL #define MOBJECT_ABT_POOL_DEFAULT ABT_POOL_NULL
...@@ -51,4 +54,8 @@ int mobject_provider_register( ...@@ -51,4 +54,8 @@ int mobject_provider_register(
*/ */
int mobject_sdskv_provider_setup(sdskv_provider_t sdskv_prov); int mobject_sdskv_provider_setup(sdskv_provider_t sdskv_prov);
#ifdef __cplusplus
}
#endif
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment