Annotation of libaitcli/inc/cli.h, revision 1.1.2.2
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);
! 23: /*
! 24: * cli_Cmd_Unsupported() Builtin helper function for unsupported commands
! 25: * @buffer = CLI buffer
! 26: * @idx = Selected command ID
! 27: * @args = Parsed arguments array
! 28: * return: RETCODE_OK ok
! 29: */
! 30: int cli_Cmd_Unsupported(void * __restrict buffer, int idx, char ** __restrict args);
1.1.2.1 misho 31:
32:
33: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>