From 6dac5422ab8b390b8e4d6ecf0313c9c9f448f54a Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Tue, 14 Apr 2020 20:53:33 -0400 Subject: nserver: ncmd.h: Add NS_LOAD. * nserver/src/ncmd.c (find_function): Add handling to find NS_LOAD. (call_function): Add handling for NS_LOAD. * nserver/src/ncmd.h (FUNCTIONS): Add NS_LOAD * nserver/tests/ncmd_tests.c (test_find_function) (test_call_function, test_process): Update tests to check the correctness of NS_LOAD. --- 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 be9dd8f..e021390 100644 --- a/nserver/src/ncmd.h +++ b/nserver/src/ncmd.h @@ -19,6 +19,7 @@ enum FUNCTIONS { NS_DELETE, NS_LIST, NS_STORE, + NS_LOAD, NS_NOP = -1 }; -- cgit v1.2.3