summaryrefslogtreecommitdiff
path: root/busybox/shell/cmdedit.h
diff options
context:
space:
mode:
authornobody2004-10-13 09:42:10 +0000
committernobody2004-10-13 09:42:10 +0000
commit8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (patch)
tree1826706cd4fd009fcd14f4f8021005ec8ec0fa59 /busybox/shell/cmdedit.h
downloadbusybox-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.zip
busybox-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.tar.gz
This commit was manufactured by cvs2svn to create tag 'busybox_1_00'.
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 */