Release 960712
[wine/multimedia.git] / debugger / readline / editline.h
blobfa16f3b318dc10df2104ae4e0a64298e488c4148
1 /* $Revision: 1.3 $
2 **
3 ** Internal header file for editline library.
4 */
5 #include <stdio.h>
6 #include <stdlib.h>
7 #include <string.h>
8 #include <sys/types.h>
9 #include <sys/stat.h>
12 #define CRLF "\r\n"
15 #define SIZE_T size_t
16 #define CONST const
18 typedef unsigned char CHAR;
20 #if defined(HIDE)
21 #define STATIC static
22 #else
23 #define STATIC /* NULL */
24 #endif /* !defined(HIDE) */
26 #define MEM_INC 64
27 #define SCREEN_INC 256
29 #define DISPOSE(p) free((char *)(p))
30 #define NEW(T, c) \
31 ((T *)malloc((unsigned int)(sizeof (T) * (c))))
32 #define RENEW(p, T, c) \
33 (p = (T *)realloc((char *)(p), (unsigned int)(sizeof (T) * (c))))
34 #define COPYFROMTO(new, p, len) \
35 (void)memcpy((char *)(new), (char *)(p), (int)(len))
39 ** Variables and routines internal to this package.
41 extern int rl_eof;
42 extern int rl_erase;
43 extern int rl_intr;
44 extern int rl_kill;
45 extern int rl_quit;
46 extern char *rl_complete();
47 extern int rl_list_possib();
48 extern void rl_ttyset();
49 extern void rl_add_slash();