X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcommon.h;h=ec58fd8e2cc9c4b89cdb34c28c991cce11b66f03;hb=4cd075fbd0fab78e393c1559db340a221196a006;hp=e350149bded5249b572de9638649532f5447d1bb;hpb=481efe3c437e1d87e0fabb987982cc1df2b2c35d;p=awesomized%2Flibmemcached diff --git a/libmemcached/common.h b/libmemcached/common.h index e350149b..ec58fd8e 100644 --- a/libmemcached/common.h +++ b/libmemcached/common.h @@ -65,16 +65,14 @@ # endif #endif -/* Define this here, which will turn on the visibilty controls while we're - * building libmemcached. - */ -#define BUILDING_LIBMEMCACHED 1 +#include +#include +#include -#include "libmemcached/memcached.h" -#include "libmemcached/watchpoint.h" -#include "libmemcached/is.h" -#include "libmemcached/prefix_key.h" +#ifdef __cplusplus +extern "C" { +#endif typedef struct memcached_server_st * memcached_server_write_instance_st; @@ -87,18 +85,22 @@ LIBMEMCACHED_LOCAL memcached_return_t memcached_server_execute(memcached_st *ptr, memcached_server_execute_fn callback, void *context); +#ifdef __cplusplus +} // extern "C" +#endif /* These are private not to be installed headers */ -#include "libmemcached/io.h" -#include "libmemcached/do.h" -#include "libmemcached/internal.h" -#include "libmemcached/array.h" -#include "libmemcached/libmemcached_probes.h" -#include "libmemcached/memcached/protocol_binary.h" -#include "libmemcached/byteorder.h" -#include "libmemcached/response.h" -#include "libmemcached/prefix_key.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include /* string value */ struct memcached_continuum_item_st