3 ** Internal header file for editline library.
15 #ifdef HAVE_SYS_TYPES_H
16 #include <sys/types.h>
18 #ifdef HAVE_SYS_STAT_H
24 typedef struct dirent DIRENTRY;
27 typedef struct direct DIRENTRY;
33 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
34 #endif /* !defined(S_ISDIR) */
36 typedef unsigned char CHAR;
39 #define SCREEN_INC 256
42 ** Variables and routines internal to this package.
50 typedef char* (*rl_complete_func_t)(char*, int*);
52 typedef int (*rl_list_possib_func_t)(char*, char***);
54 void add_history (char*);
55 char* readline (const char* prompt);
56 void rl_add_slash (char*, char*);
57 char* rl_complete (char*, int*);
58 void rl_initialize (void);
59 int rl_list_possib (char*, char***);
60 void rl_reset_terminal (char*);
62 rl_complete_func_t rl_set_complete_func (rl_complete_func_t);
63 rl_list_possib_func_t rl_set_list_possib_func (rl_list_possib_func_t);