"Robert P. J. Day" | 63fc1a9 | 2006-07-02 19:47:05 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
Eric Andersen | 03f9c81 | 2000-07-07 20:37:12 +0000 | [diff] [blame] | 2 | #ifndef CMDEDIT_H |
| 3 | #define CMDEDIT_H |
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 4 | |
Eric Andersen | 044228d | 2001-07-17 01:12:36 +0000 | [diff] [blame] | 5 | int cmdedit_read_input(char* promptStr, char* command); |
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 6 | |
Glenn L McGrath | 6728596 | 2004-01-14 09:34:51 +0000 | [diff] [blame] | 7 | #ifdef CONFIG_ASH |
| 8 | extern const char *cmdedit_path_lookup; |
| 9 | #endif |
| 10 | |
Glenn L McGrath | fdbbb04 | 2002-12-09 11:10:40 +0000 | [diff] [blame] | 11 | #ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY |
| 12 | void load_history ( const char *fromfile ); |
| 13 | void save_history ( const char *tofile ); |
| 14 | #endif |
Robert Griebl | 350d26b | 2002-12-03 22:45:46 +0000 | [diff] [blame] | 15 | |
Paul Fox | 3f11b1b | 2005-08-04 19:04:46 +0000 | [diff] [blame] | 16 | #if CONFIG_FEATURE_COMMAND_EDITING_VI |
| 17 | void setvimode ( int viflag ); |
| 18 | #endif |
| 19 | |
Eric Andersen | 03f9c81 | 2000-07-07 20:37:12 +0000 | [diff] [blame] | 20 | #endif /* CMDEDIT_H */ |