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