X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libmemcached%2Fconstants.h;h=e17e676ebebb31c58c238ebe63fe54cd077fdcc7;hb=0ae14bed70947882f5ee9423dfcb20eeda7acdd9;hp=2cf2767190ef24e26996fc222c1930e586e7f9b9;hpb=28adf7b936c6f5c25b7526ff56ec1256da1246d4;p=m6w6%2Flibmemcached diff --git a/libmemcached/constants.h b/libmemcached/constants.h index 2cf27671..e17e676e 100644 --- a/libmemcached/constants.h +++ b/libmemcached/constants.h @@ -127,7 +127,8 @@ enum memcached_callback_t { #endif MEMCACHED_CALLBACK_GET_FAILURE = 7, MEMCACHED_CALLBACK_DELETE_TRIGGER = 8, - MEMCACHED_CALLBACK_MAX + MEMCACHED_CALLBACK_MAX, + MEMCACHED_CALLBACK_NAMESPACE= MEMCACHED_CALLBACK_PREFIX_KEY }; #ifndef __cplusplus @@ -154,11 +155,14 @@ typedef enum memcached_hash_t memcached_hash_t; #endif enum memcached_connection_t { - MEMCACHED_CONNECTION_UNKNOWN, MEMCACHED_CONNECTION_TCP, MEMCACHED_CONNECTION_UDP, - MEMCACHED_CONNECTION_UNIX_SOCKET, - MEMCACHED_CONNECTION_MAX + MEMCACHED_CONNECTION_UNIX_SOCKET +}; + +enum { + MEMCACHED_CONNECTION_UNKNOWN= 0, + MEMCACHED_CONNECTION_MAX= 0 }; #ifndef __cplusplus