Diff for /libaitcli/inc/aitcli.h between versions 1.2.2.1 and 1.2.2.2

version 1.2.2.1, 2010/06/04 12:08:32 version 1.2.2.2, 2010/06/04 12:46:27
Line 10 Line 10
 #define __AITCLI_H  #define __AITCLI_H
   
   
   #define STRSIZ          256
   
 /* Key definitions */  /* Key definitions */
   
 #define K_F1            "\x1b\x4f\x50"  #define K_F1            "\x1b\x4f\x50"
Line 212  inline const char *cli_GetError(); Line 214  inline const char *cli_GetError();
  * @csPrompt = Prompt text   * @csPrompt = Prompt text
  * return: -1 error, 0 = exit w/^+D, 1 done.   * return: -1 error, 0 = exit w/^+D, 1 done.
 */  */
int cliExec(cliCommands_t *cmdList, const char *csPrompt);int cliExec(commands_t *cmdList, const char *csPrompt);
 /*  /*
  * cliNetExec() Execute net CLI main loop   * cliNetExec() Execute net CLI main loop
  * @cmdList = Commands list   * @cmdList = Commands list
Line 222  int cliExec(cliCommands_t *cmdList, const char *csProm Line 224  int cliExec(cliCommands_t *cmdList, const char *csProm
  * @win = window size of tty   * @win = window size of tty
  * return: -1 error, 0 = exit w/^+D, 1 done.   * return: -1 error, 0 = exit w/^+D, 1 done.
 */  */
int cliNetExec(cliCommands_t *cmdList, const char *csPrompt, int sock, struct termios *term, struct winsize *win);int cliNetExec(commands_t *cmdList, const char *csPrompt, int sock, struct termios *term, struct winsize *win);
   
   
 /* CLI Helper functions */  /* CLI Helper functions */

Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2


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