busybox/shell/cmdedit.h

21 lines
412 B
C
Raw Normal View History

/* vi: set sw=4 ts=4: */
2000-07-08 02:07:12 +05:30
#ifndef CMDEDIT_H
#define CMDEDIT_H
2006-11-01 14:43:26 +05:30
int cmdedit_read_input(char* promptStr, char* command);
#ifdef CONFIG_ASH
extern const char *cmdedit_path_lookup;
#endif
#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
2006-11-01 14:43:26 +05:30
void load_history(const char *fromfile);
void save_history(const char *tofile);
#endif
2006-11-01 14:43:26 +05:30
#if ENABLE_FEATURE_COMMAND_EDITING_VI
void setvimode(int viflag);
#endif
2000-07-08 02:07:12 +05:30
#endif /* CMDEDIT_H */