aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.h
diff options
context:
space:
mode:
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 000000000..f5863921a
--- /dev/null
+++ b/shell/cmdedit.h
@@ -0,0 +1,20 @@
1/* vi: set sw=4 ts=4: */
2#ifndef CMDEDIT_H
3#define CMDEDIT_H
4
5int cmdedit_read_input(char* promptStr, char* command);
6
7#ifdef CONFIG_ASH
8extern const char *cmdedit_path_lookup;
9#endif
10
11#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
12void load_history(const char *fromfile);
13void save_history(const char *tofile);
14#endif
15
16#if ENABLE_FEATURE_COMMAND_EDITING_VI
17void setvimode(int viflag);
18#endif
19
20#endif /* CMDEDIT_H */