Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nserver: ncmd.h : Add cmd_parts. | rsiddharth | 2020-04-17 | 1 | -0/+3 |
| | | | | | | | * 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 | ||||
* | nserve: Add ncmd.h | rsiddharth | 2020-04-17 | 1 | -0/+14 |
* 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. |