summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/shell/cmdedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/shell/cmdedit.h')
-rw-r--r--release/src/router/busybox/shell/cmdedit.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/release/src/router/busybox/shell/cmdedit.h b/release/src/router/busybox/shell/cmdedit.h
new file mode 100644
index 00000000..991dafcd
--- /dev/null
+++ b/release/src/router/busybox/shell/cmdedit.h
@@ -0,0 +1,11 @@
+#ifndef CMDEDIT_H
+#define CMDEDIT_H
+
+int cmdedit_read_input(char* promptStr, char* command);
+
+#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
+void load_history ( const char *fromfile );
+void save_history ( const char *tofile );
+#endif
+
+#endif /* CMDEDIT_H */