| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.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.c (check_cmd): Add argument err.
* nserver/src/ncmd.h (check_cmd): Update function declaration.
* nserver/tests/ncmd_tests.c (test_check_cmd): Update test.
|
|
|
|
|
|
|
| |
* nserver/src/ncmd.c (process): Initial version.
* nserver/src/ncmd.h (process): Update declaration.
* nserver/tests/ncmd_tests.c (test_process): Test for process.
(all_tests): Add test_process.
|
|
|
|
|
|
|
|
|
| |
* nserver/src/ncmd.c (call_function): Add arg out. Return integer.
(process): Skeleton commented out.
* nserver/src/ncmd.h (call_function): Update function declaration.
(process): New function declaration.
* nserver/tests/ncmd_tests.c
(test_call_function): Update test.
|
|
|
|
|
|
|
|
|
| |
* nserver/src/ncmd.c (call_function): New function definition. Initial
version.
* nserver/src/ncmd.h (call_function): New function declaration.
* nserver/tests/ncmd_tests.c (test_call_function): Test for
call_function.
(all_tests): Add test_call_function.
|
|
|
|
|
|
|
|
|
| |
* nserver/src/ncmd.c (test_find_function): New function.
(all_tests): Add test_find_function.
* nserver/src/ncmd.h (FUNCTIONS): New enum.
(find_function): New function declaration.
* nserver/tests/ncmd_tests.c (find_function): New function
definition.
|
|
|
|
|
|
|
| |
* nserver/src/ncmd.c (cmd_parts): New function definition.
* nserver/src/ncmd.h (cmd_parts): New function declaration.
* nserver/tests/ncmd_tests.c (test_cmd_parts): Test cmd_parts.
(all_tests): Add test_cmd_parts
|
|
* nserver/src/nserve.c (sanitize, check_cmd): Move functions ...
* nserver/src/ncmd.c (sanitize, check_cmd): ... here.
* nserver/src/nserve.h (CMD_MIN_SIZE, CMD_MAX_SIZE): Move constants...
* nserver/src/ncmd.h (CMD_MIN_SIZE, CMD_MAX_SIZE): ... here.
(sanitize, check_cmd): New function declarations.
|