aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.h
blob: c4ce2ac8c1cc49944d2d647b11ce3c960a0b9a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 CONFIG_FEATURE_COMMAND_EDITING_VI
void	setvimode ( int viflag );
#endif

#endif /* CMDEDIT_H */