3 ** Internal header file for editline library.
6 #if defined(HAVE_STDLIB)
9 #endif /* defined(HAVE_STDLIB) */
12 #endif /* defined(SYS_UNIX) */
15 #endif /* defined(SYS_OS9) */
18 #define SIZE_T unsigned int
19 #endif /* !defined(SIZE_T) */
21 typedef unsigned char CHAR
;
26 #define STATIC /* NULL */
27 #endif /* !defined(HIDE) */
34 #endif /* defined(__STDC__) */
35 #endif /* !defined(CONST) */
39 #define SCREEN_INC 256
41 #define DISPOSE(p) free((char *)(p))
43 ((T *)malloc((unsigned int)(sizeof (T) * (c))))
44 #define RENEW(p, T, c) \
45 (p = (T *)realloc((char *)(p), (unsigned int)(sizeof (T) * (c))))
46 #define COPYFROMTO(new, p, len) \
47 (void)memcpy((char *)(new), (char *)(p), (int)(len))
51 ** Variables and routines internal to this package.
58 extern char *rl_complete();
59 extern int rl_list_possib();
60 extern void rl_ttyset();
61 extern void rl_add_slash();
63 #if !defined(HAVE_STDLIB)
64 extern char *getenv();
65 extern char *malloc();
66 extern char *realloc();
67 extern char *memcpy();
68 extern char *strcat();
69 extern char *strchr();
70 extern char *strrchr();
71 extern char *strcpy();
75 #endif /* !defined(HAVE_STDLIB) */
77 #if defined(NEED_STRDUP)
78 extern char *strdup();