close #31 - made all command parameter except the command name optional + added and fixed tests
This commit is contained in:
@@ -125,19 +125,23 @@ shellmatta_retCode_t shellmatta_doInit( shellmatta_instance_t *inst,
|
||||
const char *prompt,
|
||||
const shellmatta_cmd_t *cmdList,
|
||||
shellmatta_write_t writeFct);
|
||||
shellmatta_retCode_t shellmatta_addCmd( shellmatta_handle_t handle,
|
||||
shellmatta_cmd_t *cmd);
|
||||
|
||||
shellmatta_retCode_t shellmatta_addCmd( shellmatta_handle_t handle,
|
||||
shellmatta_cmd_t *cmd);
|
||||
|
||||
shellmatta_retCode_t shellmatta_removeCmd( shellmatta_handle_t handle,
|
||||
shellmatta_cmd_t *cmd);
|
||||
|
||||
shellmatta_retCode_t shellmatta_processData(shellmatta_handle_t handle,
|
||||
char *data,
|
||||
uint32_t size);
|
||||
shellmatta_retCode_t shellmatta_write( shellmatta_handle_t handle,
|
||||
char *data,
|
||||
uint32_t length);
|
||||
|
||||
shellmatta_retCode_t shellmatta_write( shellmatta_handle_t handle,
|
||||
char *data,
|
||||
uint32_t length);
|
||||
#ifndef SHELLMATTA_STRIP_PRINTF
|
||||
shellmatta_retCode_t shellmatta_printf( shellmatta_handle_t handle,
|
||||
const char *fmt,
|
||||
shellmatta_retCode_t shellmatta_printf( shellmatta_handle_t handle,
|
||||
const char *fmt,
|
||||
...);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user