X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=include%2Fmemcached.h;h=313266aa13b30e05608cb28c23c7d66fb75c7244;hb=c63f3c2633dbda43dd4cf151edd586a279fc8cbf;hp=f5378d9a411422c6f6829d5ddabb3be0100d8ca0;hpb=706d1aa082fee61f2f69827d3bfe143f926e2074;p=awesomized%2Flibmemcached diff --git a/include/memcached.h b/include/memcached.h index f5378d9a..313266aa 100644 --- a/include/memcached.h +++ b/include/memcached.h @@ -10,19 +10,8 @@ #ifndef __MEMCACHED_H__ #define __MEMCACHED_H__ -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #ifdef __cplusplus extern "C" { @@ -234,9 +223,9 @@ char ** memcached_stat_get_keys(memcached_st *ptr, memcached_stat_st *stat, /* Some personal debugging functions */ #define WATCHPOINT printf("\nWATCHPOINT %s:%d (%s)\n", __FILE__, __LINE__,__func__);fflush(stdout); #define WATCHPOINT_ERROR(A) printf("\nWATCHPOINT %s:%d %s\n", __FILE__, __LINE__, memcached_strerror(NULL, A));fflush(stdout); -#define WATCHPOINT_STRING(A) printf("\nWATCHPOINT %s:%d %s\n", __FILE__, __LINE__, A);fflush(stdout); -#define WATCHPOINT_NUMBER(A) printf("\nWATCHPOINT %s:%d %d\n", __FILE__, __LINE__, A);fflush(stdout); -#define WATCHPOINT_ERRNO(A) printf("\nWATCHPOINT %s:%d %s\n", __FILE__, __LINE__, strerror(A));A= 0;fflush(stdout); +#define WATCHPOINT_STRING(A) printf("\nWATCHPOINT %s:%d (%s) %s\n", __FILE__, __LINE__,__func__,A);fflush(stdout); +#define WATCHPOINT_NUMBER(A) printf("\nWATCHPOINT %s:%d (%s) %d\n", __FILE__, __LINE__,__func__,A);fflush(stdout); +#define WATCHPOINT_ERRNO(A) printf("\nWATCHPOINT %s:%d (%s) %s\n", __FILE__, __LINE__,__func__, strerror(A));A= 0;fflush(stdout); #ifdef __cplusplus