summaryrefslogtreecommitdiff
path: root/shell/cmdedit.h
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-27 04:35:09 +0000
committerDenis Vlasenko2006-12-27 04:35:09 +0000
commit7b76233290bd9dead1848f28ed6d0edfcceb8e09 (patch)
treeb963999fc54eddb65f1929b894f868e24851fc9c /shell/cmdedit.h
downloadbusybox-7b76233290bd9dead1848f28ed6d0edfcceb8e09.zip
busybox-7b76233290bd9dead1848f28ed6d0edfcceb8e09.tar.gz
Correcting tag name to be like previous ones1_3_0
Diffstat (limited to 'shell/cmdedit.h')
-rw-r--r--shell/cmdedit.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/shell/cmdedit.h b/shell/cmdedit.h
new file mode 100644
index 0000000..f586392
--- /dev/null
+++ b/shell/cmdedit.h
@@ -0,0 +1,20 @@
+/* vi: set sw=4 ts=4: */
+#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
+
+#if ENABLE_FEATURE_COMMAND_EDITING_VI
+void setvimode(int viflag);
+#endif
+
+#endif /* CMDEDIT_H */