Windows: Make application manifest available everywhere
[heimdal.git] / lib / editline / edit_locl.h
blob427f493d58ea99fe728a0ac6c6e54e7f3f1c5b59
1 /* $Revision$
2 **
3 ** Internal header file for editline library.
4 */
5 #ifdef HAVE_CONFIG_H
6 #include <config.h>
7 #endif
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <string.h>
13 #define CRLF "\r\n"
15 #ifdef HAVE_SYS_TYPES_H
16 #include <sys/types.h>
17 #endif
18 #ifdef HAVE_SYS_STAT_H
19 #include <sys/stat.h>
20 #endif
22 #ifdef HAVE_DIRENT_H
23 #include <dirent.h>
24 typedef struct dirent DIRENTRY;
25 #else
26 #include <sys/dir.h>
27 typedef struct direct DIRENTRY;
28 #endif
30 #include <roken.h>
32 #if !defined(S_ISDIR)
33 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
34 #endif /* !defined(S_ISDIR) */
36 #define MEM_INC 64
37 #define SCREEN_INC 256
40 ** Variables and routines internal to this package.
42 extern int rl_eof;
43 extern int rl_erase;
44 extern int rl_intr;
45 extern int rl_kill;
46 extern int rl_quit;
48 typedef char* (*rl_complete_func_t)(char*, int*);
50 typedef int (*rl_list_possib_func_t)(char*, char***);
52 void rl_add_slash (char*, char*, size_t);
53 int rl_list_possib (char*, char***);
54 void rl_ttyset (int);
55 rl_complete_func_t rl_set_complete_func (rl_complete_func_t);
56 rl_list_possib_func_t rl_set_list_possib_func (rl_list_possib_func_t);
58 #include "editline.h"