summaryrefslogtreecommitdiffstats
path: root/nserver/src/ncmd.h
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-04-13 19:52:19 -0400
committerrsiddharth <s@ricketyspace.net>2020-04-17 20:56:37 -0400
commit1895277797fab61819ba4c666d259278f1f89c85 (patch)
tree02f5d93defa678f4bc468086a91c28cfbb13e4e4 /nserver/src/ncmd.h
parentdd0d4c75b2a78f2445eaf1f13bbaa644e578026a (diff)
nserver: ncmd.h: Add NS_STORE.
* nserver/src/ncmd.c (find_function): Add handling to find NS_STORE. (call_function): Add handling for NS_STORE. * nserver/src/ncmd.h (FUNCTIONS): Add NS_STORE * nserver/tests/ncmd_tests.c (test_find_function) (test_call_function, test_process): Update tests to check the correctness of NS_STORE.
Diffstat (limited to 'nserver/src/ncmd.h')
-rw-r--r--nserver/src/ncmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nserver/src/ncmd.h b/nserver/src/ncmd.h
index 5f63951..be9dd8f 100644
--- a/nserver/src/ncmd.h
+++ b/nserver/src/ncmd.h
@@ -18,6 +18,7 @@ enum FUNCTIONS {
NS_DUMP,
NS_DELETE,
NS_LIST,
+ NS_STORE,
NS_NOP = -1
};