Add back "mech/utils.h", its needed for oid/buffer functions.
[heimdal.git] / lib / editline / edit_locl.h
blob5118497a39e9ab1aa5a51cf5927f87a99f42c656
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 typedef unsigned char CHAR;
38 #define MEM_INC 64
39 #define SCREEN_INC 256
42 ** Variables and routines internal to this package.
44 extern int rl_eof;
45 extern int rl_erase;
46 extern int rl_intr;
47 extern int rl_kill;
48 extern int rl_quit;
50 typedef char* (*rl_complete_func_t)(char*, int*);
52 typedef int (*rl_list_possib_func_t)(char*, char***);
54 void rl_add_slash (char*, char*, size_t);
55 int rl_list_possib (char*, char***);
56 void rl_ttyset (int);
57 rl_complete_func_t rl_set_complete_func (rl_complete_func_t);
58 rl_list_possib_func_t rl_set_list_possib_func (rl_list_possib_func_t);
60 #include "editline.h"