X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libmemcached%2Fcommon.h;h=4ab2680616ca3c8e9c94ac9d55ead63a7a1f21a7;hb=bf8213041709c75147393c8bd6b51b8f9e064f7c;hp=b03f79c1dc0c2c78296bcd3482a4ab9403904259;hpb=9e2f8bdc3a3a5606d6e8010c9baeff11e63ee1bd;p=awesomized%2Flibmemcached diff --git a/libmemcached/common.h b/libmemcached/common.h index b03f79c1..4ab26806 100644 --- a/libmemcached/common.h +++ b/libmemcached/common.h @@ -112,13 +112,9 @@ #endif #include -#include -#include - -#ifdef __cplusplus -# include "libmemcached/instance.hpp" -#endif -#include +#include "libmemcached/watchpoint.h" +#include "libmemcached/is.h" +typedef struct memcached_st Memcached; #ifdef HAVE_POLL_H # include @@ -127,67 +123,57 @@ #endif #ifdef __cplusplus -extern "C" { +org::libmemcached::Instance* memcached_instance_fetch(memcached_st *ptr, uint32_t server_key); #endif -typedef memcached_return_t (*memcached_server_execute_fn)(memcached_st *ptr, memcached_server_write_instance_st server, void *context); - +/* These are private not to be installed headers */ +#include "libmemcached/error.hpp" +#include "libmemcached/memory.h" +#include "libmemcached/io.h" #ifdef __cplusplus -} // extern "C" +# include "libmemcached/string.hpp" +# include "libmemcached/memcached/protocol_binary.h" +# include "libmemcached/io.hpp" +# include "libmemcached/udp.hpp" +# include "libmemcached/do.hpp" +# include "libmemcached/socket.hpp" +# include "libmemcached/connect.hpp" +# include "libmemcached/allocators.hpp" +# include "libmemcached/hash.hpp" +# include "libmemcached/quit.hpp" +# include "libmemcached/instance.hpp" +# include "libmemcached/server_instance.h" +# include "libmemcached/server.hpp" +# include "libmemcached/flag.hpp" +# include "libmemcached/behavior.hpp" +# include "libmemcached/sasl.hpp" +# include "libmemcached/server_list.hpp" #endif +#include "libmemcached/internal.h" +#include "libmemcached/array.h" +#include "libmemcached/libmemcached_probes.h" +#include "libmemcached/byteorder.h" +#include "libmemcached/initialize_query.h" #ifdef __cplusplus -org::libmemcached::Instance* memcached_instance_fetch(memcached_st *ptr, uint32_t server_key); +# include "libmemcached/response.h" #endif -memcached_return_t memcached_server_execute(memcached_st *ptr, - memcached_server_execute_fn callback, - void *context); -/* These are private not to be installed headers */ -#include -#include -#include -#ifdef __cplusplus -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#endif -#include -#include -#include -#include -#include -#ifdef __cplusplus -#include -#endif -#include -#include +#include "libmemcached/namespace.h" +#include "libmemcached/virtual_bucket.h" #ifdef __cplusplus -#include -#include -#include -#include -#include -#include -#include +# include "libmemcached/backtrace.hpp" +# include "libmemcached/assert.hpp" +# include "libmemcached/server.hpp" +# include "libmemcached/key.hpp" +# include "libmemcached/encoding_key.h" +# include "libmemcached/result.h" +# include "libmemcached/version.hpp" #endif -#include +#include "libmemcached/continuum.hpp" #if !defined(__GNUC__) || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)