Diff for /libaitcli/inc/aitcli.h between versions 1.1.1.1.2.6 and 1.1.1.1.2.8

version 1.1.1.1.2.6, 2010/04/20 12:16:52 version 1.1.1.1.2.8, 2010/04/28 13:54:45
Line 37  inline const char *cli_GetError(); Line 37  inline const char *cli_GetError();
 inline int cli_Printf(FILE *out, const char *csFormat, ...);  inline int cli_Printf(FILE *out, const char *csFormat, ...);
   
 /*  /*
  * cliInit() Initialize Readline  
  * @csProg = program name  
  * return: none  
 */  
 inline void cliInit(const char *csProg);  
 /*  
  * cliNetInit() Initialize Readline if CLI bind to socket   * cliNetInit() Initialize Readline if CLI bind to socket
  * @csProg = program name   * @csProg = program name
  * @pty = Master pty   * @pty = Master pty
Line 73  inline void cliComp(cli_Completion_t *cmdComplete, cli Line 67  inline void cliComp(cli_Completion_t *cmdComplete, cli
  * 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(cliCommands_t *cmdList, const char *csPrompt);
   /*
    * cliNetExec() Execute net CLI main loop
    * @cmdList = Commands list
    * @csPrompt = Prompt text
    * @sock = client socket
    * @term = stdin termios
    * @win = window size of tty
    * 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);
   
 /*  /*
  * cli_ReadHistory() Read CLI History from file   * cli_ReadHistory() Read CLI History from file

Removed from v.1.1.1.1.2.6  
changed lines
  Added in v.1.1.1.1.2.8


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