mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 12:31:45 +08:00
20 lines
535 B
C
20 lines
535 B
C
/* Minix editline */
|
|
#ifndef __EDITLINE_H__
|
|
#define __EDITLINE_H__
|
|
|
|
/* Assign these to get command completion, see cli.c for
|
|
* example usage. */
|
|
extern char *(*rl_complete)(char *token, int *match);
|
|
extern int (*rl_list_possib)(char *token, char ***av);
|
|
|
|
/*
|
|
** For compatibility with FSF readline.
|
|
*/
|
|
extern void rl_reset_terminal(char *p);
|
|
extern void rl_initialize(void);
|
|
|
|
extern char *readline(const char *prompt);
|
|
extern void add_history(char *line); /* OBSOLETE: Made part of readline(). -- kjb */
|
|
|
|
#endif /* __EDITLINE_H__ */
|