From 1895277797fab61819ba4c666d259278f1f89c85 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 13 Apr 2020 19:52:19 -0400 Subject: 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. --- nserver/src/ncmd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nserver/src/ncmd.h') 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 }; -- cgit v1.2.3