X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=lib%2Fcommon.h;h=5c2d2682e3a59e01995167f4f322e52b24d847ef;hb=97ccdd0fbb452e094e1fcfde80376f805370ff70;hp=d4a7baca7a002676e0607ca3287626122cca49b8;hpb=08968cb5fc9edcec75729a0180259cb2fd3aca30;p=m6w6%2Flibmemcached diff --git a/lib/common.h b/lib/common.h index d4a7baca..5c2d2682 100644 --- a/lib/common.h +++ b/lib/common.h @@ -19,6 +19,10 @@ #include #include #include +#include +#include +#include + #include @@ -36,6 +40,11 @@ #define MEMCACHED_BLOCK_SIZE 1024 +typedef enum { + MEM_NO_FLUSH, + MEM_FLUSH, +} memcached_flush_action; + typedef enum { MEM_NO_BLOCK= (1 << 0), MEM_TCP_NODELAY= (1 << 1),