X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached%2Fprotocol_binary.h;h=ecdc52e333b1ce19eeb7d2d0f85c23527e8b492c;hb=26c65ac524f21cd73a79f3caf45cdb76c9a41bc0;hp=b28094062bc24815cfb965f4f51ca30b0f4032c9;hpb=8cc3921d72dabcc2a89c38bbee08007b7abe6976;p=m6w6%2Flibmemcached diff --git a/libmemcached/memcached/protocol_binary.h b/libmemcached/memcached/protocol_binary.h index b2809406..ecdc52e3 100644 --- a/libmemcached/memcached/protocol_binary.h +++ b/libmemcached/memcached/protocol_binary.h @@ -35,7 +35,10 @@ #ifndef PROTOCOL_BINARY_H #define PROTOCOL_BINARY_H -#include +/** + * \addtogroup Protocol + * @{ + */ /** * This file contains definitions of the constants and packet formats @@ -69,11 +72,14 @@ extern "C" PROTOCOL_BINARY_RESPONSE_EINVAL = 0x04, PROTOCOL_BINARY_RESPONSE_NOT_STORED = 0x05, PROTOCOL_BINARY_RESPONSE_DELTA_BADVAL = 0x06, + PROTOCOL_BINARY_RESPONSE_AUTH_ERROR = 0x20, + PROTOCOL_BINARY_RESPONSE_AUTH_CONTINUE = 0x21, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND = 0x81, PROTOCOL_BINARY_RESPONSE_ENOMEM = 0x82, PROTOCOL_BINARY_RESPONSE_PAUSE = 0xfe00, PROTOCOL_BINARY_RESPONSE_EIO = 0xff00 + } protocol_binary_response_status; /** @@ -109,6 +115,10 @@ extern "C" PROTOCOL_BINARY_CMD_APPENDQ = 0x19, PROTOCOL_BINARY_CMD_PREPENDQ = 0x1a, + PROTOCOL_BINARY_CMD_SASL_LIST_MECHS = 0x20, + PROTOCOL_BINARY_CMD_SASL_AUTH = 0x21, + PROTOCOL_BINARY_CMD_SASL_STEP = 0x22, + /* These commands are used for range operations and exist within * this header for use in other projects. Range operations are * not expected to be implemented in the memcached server itself. @@ -415,6 +425,10 @@ extern "C" typedef protocol_binary_request_rangeop protocol_binary_request_rdecr; typedef protocol_binary_request_rangeop protocol_binary_request_rdecrq; + /** + * @} + */ + #ifdef __cplusplus } #endif