blob: 4a32cf63ead1f1bd56f375052a569774b380dcc7 [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
Denis Vlasenko966ec7c2006-11-01 09:13:26 +00005int cmdedit_read_input(char* promptStr, char* command);
Erik Andersenf0657d32000-04-12 17:49:52 +00006
Denis Vlasenko82b39e82007-01-21 19:18:19 +00007#if ENABLE_ASH
Glenn L McGrath67285962004-01-14 09:34:51 +00008extern const char *cmdedit_path_lookup;
9#endif
10
Denis Vlasenko82b39e82007-01-21 19:18:19 +000011#if ENABLE_FEATURE_COMMAND_SAVEHISTORY
Denis Vlasenko966ec7c2006-11-01 09:13:26 +000012void load_history(const char *fromfile);
13void save_history(const char *tofile);
Glenn L McGrathfdbbb042002-12-09 11:10:40 +000014#endif
Robert Griebl350d26b2002-12-03 22:45:46 +000015
Denis Vlasenko966ec7c2006-11-01 09:13:26 +000016#if ENABLE_FEATURE_COMMAND_EDITING_VI
17void setvimode(int viflag);
Paul Fox3f11b1b2005-08-04 19:04:46 +000018#endif
19
Eric Andersen03f9c812000-07-07 20:37:12 +000020#endif /* CMDEDIT_H */