diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-09 19:30:57 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-09 19:30:57 +0300 |
commit | 4e1470d50f1ece3277dec6c770c5ea74d0db10b7 (patch) | |
tree | 63e61d8a721769e0233fe860e204839c08eed91a /src/kvstorage_server.h | |
parent | cf21ad184448908536c32495db26f97bffd3f584 (diff) | |
download | rspamd-4e1470d50f1ece3277dec6c770c5ea74d0db10b7.tar.gz rspamd-4e1470d50f1ece3277dec6c770c5ea74d0db10b7.zip |
* Support redis unified protocol.
Diffstat (limited to 'src/kvstorage_server.h')
-rw-r--r-- | src/kvstorage_server.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kvstorage_server.h b/src/kvstorage_server.h index 2d4a3fa89..a7c8bd8a6 100644 --- a/src/kvstorage_server.h +++ b/src/kvstorage_server.h @@ -59,6 +59,8 @@ struct kvstorage_session { rspamd_io_dispatcher_t *dispather; enum { KVSTORAGE_STATE_READ_CMD, + KVSTORAGE_STATE_READ_ARGLEN, + KVSTORAGE_STATE_READ_ARG, KVSTORAGE_STATE_READ_DATA } state; enum { @@ -70,6 +72,8 @@ struct kvstorage_session { KVSTORAGE_CMD_QUIT } command; guint id; + guint argc; + guint argnum; memory_pool_t *pool; gchar *key; struct kvstorage_config *cf; |