summaryrefslogtreecommitdiffstats
path: root/nserver/src/protocol.h
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-04-11 12:53:53 -0400
committerrsiddharth <s@ricketyspace.net>2020-04-17 20:56:37 -0400
commit51a3127d1de8903cfed7837029af223f7b58db07 (patch)
treeadc2881d192ec99572e2d48106eea51c3edcd499 /nserver/src/protocol.h
parent49edbb003a0aef0fd864e5f2a12228807618a175 (diff)
nserver: Add ssstore.
* nserver/src/protocol.c (ssstore): New function definition. * nserver/src/protocol.h (ssstore): New function declaration. * nserver/tests/protocol_tests.c (test_ssstore): New test.
Diffstat (limited to 'nserver/src/protocol.h')
-rw-r--r--nserver/src/protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nserver/src/protocol.h b/nserver/src/protocol.h
index eec38ab..5b12bca 100644
--- a/nserver/src/protocol.h
+++ b/nserver/src/protocol.h
@@ -4,6 +4,7 @@
#include <bstrlib.h>
#include <darray.h>
+#include <db.h>
#include <hashmap.h>
#include <stats.h>
#include <tstree.h>
@@ -21,6 +22,7 @@ double sssample(char *key, double s);
double ssmean(char *key);
char *ssdump(char *key);
char *sslist();
+int ssstore(char *key);
#endif