#ifndef CMDEDIT_H
#define CMDEDIT_H
-#ifdef BB_FEATURE_SH_COMMAND_EDITING
-#include <stddef.h>
+int cmdedit_read_input(char* promptStr, char* command);
-void cmdedit_init(void);
-void cmdedit_terminate(void);
-void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */
+#ifdef CONFIG_ASH
+extern const char *cmdedit_path_lookup;
+#endif
-#endif /* BB_FEATURE_SH_COMMAND_EDITING */
+#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
+void load_history ( const char *fromfile );
+void save_history ( const char *tofile );
+#endif
#endif /* CMDEDIT_H */