Annotation of libaitcli/inc/cli.h, revision 1.1.2.4

1.1.2.4 ! 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: aitcli.h,v 1.2.2.9 2010/06/07 13:47:42 misho Exp $
        !             7: *
        !             8: *************************************************************************/
1.1.2.1   misho       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:  */
1.1.2.2   misho      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);
1.1.2.1   misho      31: 
                     32: 
                     33: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>