nserver

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit e117fedddc856a1376bafac3f62aee8823b763b3
parent 7b87d0d194f428ee1e9d32c5022c1ea9620a9f84
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon,  3 Feb 2020 22:53:03 -0500

nserver/src/protocol.h: Add Record.

Diffstat:
nserver/src/protocol.h | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/nserver/src/protocol.h b/nserver/src/protocol.h @@ -8,6 +8,12 @@ #include <stats.h> #include <dbg.h> +typedef struct Record { + bstring key; + Stats *st; + int deleted; +} Record; + int sscreate(char *key); int ssdelete(char *key); double sssample(char *key, double s);