X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached%2Fprotocol_binary.h;h=51e2c42294848beca127ca16a64f120d55a741cc;hb=11f92a5b87291fd499db5897800fafacd654f6e9;hp=4509bbcbb487efd292dcfcb6563839fb10be9652;hpb=2df9084da8c73d8813f8740e88cd70fe63dd742c;p=m6w6%2Flibmemcached diff --git a/libmemcached/memcached/protocol_binary.h b/libmemcached/memcached/protocol_binary.h index 4509bbcb..51e2c422 100644 --- a/libmemcached/memcached/protocol_binary.h +++ b/libmemcached/memcached/protocol_binary.h @@ -36,7 +36,7 @@ #ifndef PROTOCOL_BINARY_H #define PROTOCOL_BINARY_H -#include "vbucket.h" +#include /** * \addtogroup Protocol @@ -122,6 +122,8 @@ extern "C" PROTOCOL_BINARY_CMD_TOUCH = 0x1c, PROTOCOL_BINARY_CMD_GAT = 0x1d, PROTOCOL_BINARY_CMD_GATQ = 0x1e, + PROTOCOL_BINARY_CMD_GATK = 0x23, + PROTOCOL_BINARY_CMD_GATKQ = 0x24, PROTOCOL_BINARY_CMD_SASL_LIST_MECHS = 0x20, PROTOCOL_BINARY_CMD_SASL_AUTH = 0x21, @@ -218,12 +220,13 @@ extern "C" /** * Definition of a request-packet containing no extras */ - typedef union { + union protocol_binary_request_no_extras { struct { protocol_binary_request_header header; } message; uint8_t bytes[sizeof(protocol_binary_request_header)]; - } protocol_binary_request_no_extras; + }; + typedef union protocol_binary_request_no_extras protocol_binary_request_no_extras; /** * Definition of a response-packet containing no extras