root/todo/tags/0.1.20/src/todorl.h

Revision 290, 0.8 kB (checked in by athomas, 4 years ago)

Initial import.

Line 
1 #ifndef TODORL_H__
2 #define TODORL_H__
3
4 /*     
5         Explicitly declare readline functions because on several distributions
6         the readline headers do NOT compile under C++ at all due to a lack of
7         function parameters.
8 */
9 typedef int intfunc ();
10
11 extern "C" int rl_initialize();
12 extern "C" char *rl_readline_name;
13 extern "C" char **completion_matches(char*, char*(*)(...));
14 extern "C" void rl_insert_text(char*);
15 extern "C" char **(*rl_attempted_completion_function)(...);
16 extern "C" int (*rl_startup_hook)(...);
17 extern "C" char *readline(char*);
18 extern "C" void add_history(char*);
19 extern "C" int rl_getc(FILE *);
20 extern "C" int rl_point, rl_end, rl_mark;
21 extern "C" int rl_delete_text(int, int);
22 extern "C" void rl_redisplay();
23 extern "C" void rl_clear_message();
24 extern "C" intfunc *rl_getc_function;
25
26 #endif
Note: See TracBrowser for help on using the browser.