summaryrefslogtreecommitdiffstats
path: root/nserver
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-09-29 21:23:16 -0400
committerrsiddharth <s@ricketyspace.net>2020-04-17 20:56:34 -0400
commita71f4cec5902e28563b1bb78eec98364070a351e (patch)
tree1255ee2a83050e52b730fd04dae038f6eea7bee1 /nserver
parentdf781320b71838bac75c343e86484334ec3aca82 (diff)
nserver; Add protocol.h
Diffstat (limited to 'nserver')
-rw-r--r--nserver/src/protocol.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/nserver/src/protocol.h b/nserver/src/protocol.h
new file mode 100644
index 0000000..22355bd
--- /dev/null
+++ b/nserver/src/protocol.h
@@ -0,0 +1,14 @@
+#ifndef _protocol_h
+#define _protocol_h
+
+#include <hashmap.h>
+#include <dbg.h>
+
+int sscreate(char *key);
+int ssdelete(char *key);
+int sssample(char *key, double s);
+double ssmean(char *key);
+char *ssdump(char *key);
+
+
+#endif