--- libaitcli/inc/cli.h 2010/06/07 11:54:55 1.1.2.1 +++ libaitcli/inc/cli.h 2010/06/07 12:30:28 1.1.2.2 @@ -11,7 +11,23 @@ * @args = Parsed arguments array * return: RETCODE_EOF exit from Cli! */ -int cli_Cmd_Exit(void * __restrict buffer, int idx, char ** __restrict argv); +int cli_Cmd_Exit(void * __restrict buffer, int idx, char ** __restrict args); +/* + * cli_Cmd_Help() Builtin helper function for Help screen + * @buffer = CLI buffer + * @idx = Selected command ID + * @args = Parsed arguments array + * return: RETCODE_ERR in error or RETCODE_OK +*/ +int cli_Cmd_Help(void * __restrict buffer, int idx, char ** __restrict args); +/* + * cli_Cmd_Unsupported() Builtin helper function for unsupported commands + * @buffer = CLI buffer + * @idx = Selected command ID + * @args = Parsed arguments array + * return: RETCODE_OK ok +*/ +int cli_Cmd_Unsupported(void * __restrict buffer, int idx, char ** __restrict args); #endif