summaryrefslogtreecommitdiff
path: root/protocol_binary.h
diff options
context:
space:
mode:
authorToru Maesaka <dev@torum.net>2008-07-03 16:56:16 +0900
committerToru Maesaka <dev@torum.net>2008-07-03 16:56:16 +0900
commit4c77f5910b5ac03b3f26cc68f3f1c11a5a38b867 (patch)
treeb6f91af8e609be1cd189d81b98c0430409a31d9e /protocol_binary.h
parentb150b6b56fa829ba7688eb3e2aeb2417fe085c3c (diff)
downloadmemcached-4c77f5910b5ac03b3f26cc68f3f1c11a5a38b867.tar.gz
Initial attempt of supporting stats in binary protocol.
Diffstat (limited to 'protocol_binary.h')
-rw-r--r--protocol_binary.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocol_binary.h b/protocol_binary.h
index 5e9919d..1986925 100644
--- a/protocol_binary.h
+++ b/protocol_binary.h
@@ -91,6 +91,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_command;
/**
@@ -169,6 +170,12 @@ extern "C"
typedef protocol_binary_request_no_extras protocol_binary_request_getkq;
/**
+ * Definition of the packet used by the stats command.
+ * See section <undecided yet>
+ */
+ typedef protocol_binary_request_no_extras protocol_binary_request_stats;
+
+ /**
* Definition of the packet returned from a successful get, getq, getk and
* getkq.
* See section 4.1