Annotation of libaitcli/inc/cli.h, revision 1.2
1.2 ! misho 1: /*************************************************************************
! 2: * (C) 2010 AITNET ltd - Sofia/Bulgaria - <misho@aitbg.com>
! 3: * by Michael Pounov <misho@openbsd-bg.org>
! 4: *
! 5: * $Author: misho $
! 6: * $Id: cli.h,v 1.1.2.4 2010/06/07 23:38:38 misho Exp $
! 7: *
! 8: *************************************************************************/
! 9: #ifndef __CLI_H
! 10: #define __CLI_H
! 11:
! 12:
! 13: /* CLI Helper functions */
! 14:
! 15: /*
! 16: * cli_Cmd_Exit() Builtin helper function for Exit from Cli
! 17: * @buffer = CLI buffer
! 18: * @idx = Selected command ID
! 19: * @args = Parsed arguments array
! 20: * return: RETCODE_EOF exit from Cli!
! 21: */
! 22: int cli_Cmd_Exit(void * __restrict buffer, int idx, char ** __restrict args);
! 23: /*
! 24: * cli_Cmd_Help() Builtin helper function for Help screen
! 25: * @buffer = CLI buffer
! 26: * @idx = Selected command ID
! 27: * @args = Parsed arguments array
! 28: * return: RETCODE_ERR in error or RETCODE_OK
! 29: */
! 30: int cli_Cmd_Help(void * __restrict buffer, int idx, char ** __restrict args);
! 31:
! 32:
! 33: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>