2006-07-02 19:47:05 +00:00
|
|
|
/* vi: set sw=4 ts=4: */
|
2000-07-07 20:37:12 +00:00
|
|
|
#ifndef CMDEDIT_H
|
|
|
|
#define CMDEDIT_H
|
2000-04-12 17:49:52 +00:00
|
|
|
|
2001-07-17 01:12:36 +00:00
|
|
|
int cmdedit_read_input(char* promptStr, char* command);
|
2000-04-12 17:49:52 +00:00
|
|
|
|
2004-01-14 09:34:51 +00:00
|
|
|
#ifdef CONFIG_ASH
|
|
|
|
extern const char *cmdedit_path_lookup;
|
|
|
|
#endif
|
|
|
|
|
2002-12-09 11:10:40 +00:00
|
|
|
#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
|
|
|
|
void load_history ( const char *fromfile );
|
|
|
|
void save_history ( const char *tofile );
|
|
|
|
#endif
|
2002-12-03 22:45:46 +00:00
|
|
|
|
2005-08-04 19:04:46 +00:00
|
|
|
#if CONFIG_FEATURE_COMMAND_EDITING_VI
|
|
|
|
void setvimode ( int viflag );
|
|
|
|
#endif
|
|
|
|
|
2000-07-07 20:37:12 +00:00
|
|
|
#endif /* CMDEDIT_H */
|