Annotation of libaitcli/inc/cli.h, revision 1.1.2.3
1.1.2.1 misho 1: #ifndef __CLI_H
2: #define __CLI_H
3:
4:
5: /* CLI Helper functions */
6:
7: /*
8: * cli_Cmd_Exit() Builtin helper function for Exit from Cli
9: * @buffer = CLI buffer
10: * @idx = Selected command ID
11: * @args = Parsed arguments array
12: * return: RETCODE_EOF exit from Cli!
13: */
1.1.2.2 misho 14: int cli_Cmd_Exit(void * __restrict buffer, int idx, char ** __restrict args);
15: /*
16: * cli_Cmd_Help() Builtin helper function for Help screen
17: * @buffer = CLI buffer
18: * @idx = Selected command ID
19: * @args = Parsed arguments array
20: * return: RETCODE_ERR in error or RETCODE_OK
21: */
22: int cli_Cmd_Help(void * __restrict buffer, int idx, char ** __restrict args);
1.1.2.1 misho 23:
24:
25: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>