[BACK]Return to prompt.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libedit

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libedit/prompt.h between version 1.4 and 1.5

version 1.4, 1999/11/12 01:05:07 version 1.5, 2000/09/04 22:06:31
Line 42 
Line 42 
  * el.prompt.h: Prompt printing stuff   * el.prompt.h: Prompt printing stuff
  */   */
 #ifndef _h_el_prompt  #ifndef _h_el_prompt
 #define _h_el_prompt  #define _h_el_prompt
   
 #include "histedit.h"  #include "histedit.h"
   
 typedef char * (*el_pfunc_t) __P((EditLine*));  typedef char * (*el_pfunc_t)(EditLine*);
   
 typedef struct el_prompt_t {  typedef struct el_prompt_t {
     el_pfunc_t p_func;          /* Function to return the prompt        */          el_pfunc_t      p_func; /* Function to return the prompt        */
     coord_t    p_pos;           /* position in the line after prompt    */          coord_t         p_pos;  /* position in the line after prompt    */
 } el_prompt_t;  } el_prompt_t;
   
 protected void prompt_print     __P((EditLine *, int));  protected void  prompt_print(EditLine *, int);
 protected int  prompt_set       __P((EditLine *, el_pfunc_t, int));  protected int   prompt_set(EditLine *, el_pfunc_t, int);
 protected int  prompt_get       __P((EditLine *, el_pfunc_t *, int));  protected int   prompt_get(EditLine *, el_pfunc_t *, int);
 protected int  prompt_init      __P((EditLine *));  protected int   prompt_init(EditLine *);
 protected void prompt_end       __P((EditLine *));  protected void  prompt_end(EditLine *);
   
 #endif /* _h_el_prompt */  #endif /* _h_el_prompt */

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

CVSweb <webmaster@jp.NetBSD.org>