summaryrefslogtreecommitdiff
path: root/protocol_binary.h
diff options
context:
space:
mode:
authorTrond Norbye <Trond.Norbye@sun.com>2008-10-06 12:52:41 +0200
committerDustin Sallings <dustin@spy.net>2009-01-03 00:09:12 -0800
commitdf1b7e42959a9c055a7320a14fa5f80b4f22f6a8 (patch)
tree125d6ef6a1a6c08c0f7091f9cd37b094b6bc3d7c /protocol_binary.h
parent1f48dc4dba7063d8cfdb6068721f72c5768997a4 (diff)
downloadmemcached-df1b7e42959a9c055a7320a14fa5f80b4f22f6a8.tar.gz
Removed compiler warnings and increased warning level
Diffstat (limited to 'protocol_binary.h')
-rw-r--r--protocol_binary.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocol_binary.h b/protocol_binary.h
index 9d22514..c998cf1 100644
--- a/protocol_binary.h
+++ b/protocol_binary.h
@@ -54,7 +54,7 @@ extern "C"
*/
typedef enum {
PROTOCOL_BINARY_REQ = 0x80,
- PROTOCOL_BINARY_RES = 0x81,
+ PROTOCOL_BINARY_RES = 0x81
} protocol_binary_magic;
/**
@@ -69,7 +69,7 @@ extern "C"
PROTOCOL_BINARY_RESPONSE_EINVAL = 0x04,
PROTOCOL_BINARY_RESPONSE_NOT_STORED = 0x05,
PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND = 0x81,
- PROTOCOL_BINARY_RESPONSE_ENOMEM = 0x82,
+ PROTOCOL_BINARY_RESPONSE_ENOMEM = 0x82
} protocol_binary_response_status;
/**
@@ -93,7 +93,7 @@ extern "C"
PROTOCOL_BINARY_CMD_GETKQ = 0x0d,
PROTOCOL_BINARY_CMD_APPEND = 0x0e,
PROTOCOL_BINARY_CMD_PREPEND = 0x0f,
- PROTOCOL_BINARY_CMD_STAT = 0x10,
+ PROTOCOL_BINARY_CMD_STAT = 0x10
} protocol_binary_command;
/**
@@ -101,7 +101,7 @@ extern "C"
* See section 3.4 Data Types
*/
typedef enum {
- PROTOCOL_BINARY_RAW_BYTES = 0x00,
+ PROTOCOL_BINARY_RAW_BYTES = 0x00
} protocol_binary_datatypes;
/**