git » nmdb » commit b504138

Document the increment operation in the network document.

author Alberto Bertogli
2007-08-28 06:34:29 UTC
committer Alberto Bertogli
2007-08-28 06:34:29 UTC
parent 84448a9f9cd98bdf9cf51db075ab2cd72a63c607

Document the increment operation in the network document.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

doc/network.rst +5 -0

diff --git a/doc/network.rst b/doc/network.rst
index 0409331..c1e9909 100644
--- a/doc/network.rst
+++ b/doc/network.rst
@@ -60,6 +60,8 @@ REQ_SET_ASYNC  0x107
 REQ_DEL_ASYNC  0x108
 REQ_CACHE_CAS  0x109
 REQ_CAS        0x110
+REQ_CACHE_INCR 0x111
+REQ_INCR       0x112
 ============== ======
 
 
@@ -79,6 +81,9 @@ REQ_DEL_* and REQ_CACHE_DEL
 REQ_CAS and REQ_CACHE_CAS
   First the key size, then the old value size, then the new value size, and
   then the key, the old value and the new value.
+REQ_INCR and REQ_CACHE_INCR
+  First the key size (32 bits), then the key, and then the increment as a
+  signed network byte order 64 bit integer.
 
 
 Replies