cmdedit.h 412 B

1234567891011121314151617181920
  1. /* vi: set sw=4 ts=4: */
  2. #ifndef CMDEDIT_H
  3. #define CMDEDIT_H
  4. int cmdedit_read_input(char* promptStr, char* command);
  5. #ifdef CONFIG_ASH
  6. extern const char *cmdedit_path_lookup;
  7. #endif
  8. #ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
  9. void load_history(const char *fromfile);
  10. void save_history(const char *tofile);
  11. #endif
  12. #if ENABLE_FEATURE_COMMAND_EDITING_VI
  13. void setvimode(int viflag);
  14. #endif
  15. #endif /* CMDEDIT_H */