Diff for /libaitcli/src/cli.c between versions 1.4 and 1.5

version 1.4, 2012/07/22 22:37:08 version 1.5, 2013/05/30 09:16:42
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 47  SUCH DAMAGE. Line 47  SUCH DAMAGE.
   
   
 /*  /*
 * cli_Cmd_Exit() Builtin helper function for Exit from Cli * cli_Cmd_Exit() - Builtin helper function for Exit from Cli
  *
  * @buffer = CLI buffer   * @buffer = CLI buffer
  * @idx = Selected command ID   * @idx = Selected command ID
  * @args = Parsed arguments array   * @args = Parsed arguments array
Line 60  int cli_Cmd_Exit(void * __restrict buffer, int idx, ch Line 61  int cli_Cmd_Exit(void * __restrict buffer, int idx, ch
 }  }
   
 /*  /*
 * cli_Cmd_Help() Builtin helper function for Help screen * cli_Cmd_Help() - Builtin helper function for Help screen
  *
  * @buffer = CLI buffer   * @buffer = CLI buffer
  * @idx = Selected command ID   * @idx = Selected command ID
  * @args = Parsed arguments array   * @args = Parsed arguments array
Line 72  int cli_Cmd_Help(void * __restrict buffer, int idx, ch Line 74  int cli_Cmd_Help(void * __restrict buffer, int idx, ch
         struct tagCommand *cmd;          struct tagCommand *cmd;
   
         if (!buffer) {          if (!buffer) {
                cli_SetErr(EINVAL, "Error:: invalid input parameters ...");                cli_SetErr(EINVAL, "Invalid input parameters ...");
                 return RETCODE_ERR;                  return RETCODE_ERR;
         }          }
   
Line 101  int cli_Cmd_Help(void * __restrict buffer, int idx, ch Line 103  int cli_Cmd_Help(void * __restrict buffer, int idx, ch
 }  }
   
 /*  /*
 * cli_Cmd_Unsupported() Builtin helper function for unsupported commands * cli_Cmd_Unsupported() - Builtin helper function for unsupported commands
  *
  * @buffer = CLI buffer   * @buffer = CLI buffer
  * @idx = Selected command ID   * @idx = Selected command ID
  * @args = Parsed arguments array   * @args = Parsed arguments array

Removed from v.1.4  
changed lines
  Added in v.1.5


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