blob: c4ce2ac8c1cc49944d2d647b11ce3c960a0b9a28 [file] [log] [blame]
"Robert P. J. Day"63fc1a92006-07-02 19:47:05 +00001/* vi: set sw=4 ts=4: */
Eric Andersen03f9c812000-07-07 20:37:12 +00002#ifndef CMDEDIT_H
3#define CMDEDIT_H
Erik Andersenf0657d32000-04-12 17:49:52 +00004
Eric Andersen044228d2001-07-17 01:12:36 +00005int cmdedit_read_input(char* promptStr, char* command);
Erik Andersenf0657d32000-04-12 17:49:52 +00006
Glenn L McGrath67285962004-01-14 09:34:51 +00007#ifdef CONFIG_ASH
8extern const char *cmdedit_path_lookup;
9#endif
10
Glenn L McGrathfdbbb042002-12-09 11:10:40 +000011#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
12void load_history ( const char *fromfile );
13void save_history ( const char *tofile );
14#endif
Robert Griebl350d26b2002-12-03 22:45:46 +000015
Paul Fox3f11b1b2005-08-04 19:04:46 +000016#if CONFIG_FEATURE_COMMAND_EDITING_VI
17void setvimode ( int viflag );
18#endif
19
Eric Andersen03f9c812000-07-07 20:37:12 +000020#endif /* CMDEDIT_H */