summaryrefslogtreecommitdiff
path: root/busybox/shell/cmdedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/shell/cmdedit.h')
-rw-r--r--busybox/shell/cmdedit.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/busybox/shell/cmdedit.h b/busybox/shell/cmdedit.h
new file mode 100644
index 0000000..4c0c09d
--- /dev/null
+++ b/busybox/shell/cmdedit.h
@@ -0,0 +1,15 @@
+#ifndef CMDEDIT_H
+#define CMDEDIT_H
+
+int cmdedit_read_input(char* promptStr, char* command);
+
+#ifdef CONFIG_ASH
+extern const char *cmdedit_path_lookup;
+#endif
+
+#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
+void load_history ( const char *fromfile );
+void save_history ( const char *tofile );
+#endif
+
+#endif /* CMDEDIT_H */