2 ** Internal header file for editline library.
5 #if defined(HAVE_STDLIB)
8 #endif /* defined(HAVE_STDLIB) */
11 #endif /* defined(SYS_UNIX) */
14 #endif /* defined(SYS_OS9) */
17 #define SIZE_T unsigned int
18 #endif /* !defined(SIZE_T) */
20 typedef unsigned char CHAR
;
25 #define STATIC /* NULL */
26 #endif /* !defined(HIDE) */
33 #endif /* defined(__STDC__) */
34 #endif /* !defined(CONST) */
38 #define SCREEN_INC 256
40 #define DISPOSE(p) free((char *)(p))
42 ((T *)malloc((unsigned int)(sizeof (T) * (c))))
43 #define RENEW(p, T, c) \
44 (p = (T *)realloc((char *)(p), (unsigned int)(sizeof (T) * (c))))
45 #define COPYFROMTO(new, p, len) \
46 (void)memcpy((char *)(new), (char *)(p), (int)(len))
50 ** Variables and routines internal to this package.
57 extern char *rl_complete();
58 extern int rl_list_possib();
59 extern void rl_ttyset();
60 extern void rl_add_slash();
62 #if !defined(HAVE_STDLIB)
63 extern char *getenv();
64 extern char *malloc();
65 extern char *realloc();
66 extern char *memcpy();
67 extern char *strcat();
68 extern char *strchr();
69 extern char *strrchr();
70 extern char *strcpy();
74 #endif /* !defined(HAVE_STDLIB) */
76 #if defined(NEED_STRDUP)
77 extern char *strdup();