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