blob: f8482f4a768808c97d99c71a01a6c8e69b24e82c [file] [log] [blame]
Eric Andersen03f9c812000-07-07 20:37:12 +00001#ifndef CMDEDIT_H
2#define CMDEDIT_H
Erik Andersenf0657d32000-04-12 17:49:52 +00003
Eric Andersen044228d2001-07-17 01:12:36 +00004int cmdedit_read_input(char* promptStr, char* command);
Erik Andersenf0657d32000-04-12 17:49:52 +00005
Glenn L McGrath67285962004-01-14 09:34:51 +00006#ifdef CONFIG_ASH
7extern const char *cmdedit_path_lookup;
8#endif
9
Glenn L McGrathfdbbb042002-12-09 11:10:40 +000010#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
11void load_history ( const char *fromfile );
12void save_history ( const char *tofile );
13#endif
Robert Griebl350d26b2002-12-03 22:45:46 +000014
Paul Fox3f11b1b2005-08-04 19:04:46 +000015#if CONFIG_FEATURE_COMMAND_EDITING_VI
16void setvimode ( int viflag );
17#endif
18
Eric Andersen03f9c812000-07-07 20:37:12 +000019#endif /* CMDEDIT_H */