1 /* edpublic.h */
2 /* this file provides the public interface to the editline library */
3 #ifndef EDPUBLIC_H
4 #define EDPUBLIC_H
5 
6 #ifdef no_proto   /* old non-ANSI C declaration */
7 size_t FindMatches() ;
8 
9 #else  /* ANSI C */
10 
11 #if (defined(__MSDOS__) && !defined(HAVE_DIRENT_H)) || defined(WIN32)
12 #define FINDFIRST
13 size_t FindMatches (const char *path, char ***avp);
14 #else
15 size_t FindMatches(const char *dir, const char *file, char ***avp) ;
16 #endif
17 
18 #endif /* no_proto */
19 
20 /* arbitrary constants used by readline().*/
21 typedef enum {
22     no_scroll = -25, do_scroll
23 } scroll_command_t ;
24 
25 extern const char *luxptr ;
26 char *readline( const char *prompt, scroll_command_t scrollflag);
27 void add_history(const char *p);
28 void TTYinfo(void);
29 void rl_cleanup(void);
30 void rl_initialize(void);
31 
32 #endif /* EDPUBLIC_H */
33 
34