Eric Andersen | 03f9c81 | 2000-07-07 20:37:12 +0000 | [diff] [blame] | 1 | #ifndef CMDEDIT_H |
2 | #define CMDEDIT_H | ||||
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 3 | |
Eric Andersen | b3d6e2d | 2001-03-13 22:57:56 +0000 | [diff] [blame^] | 4 | #ifdef BB_FEATURE_COMMAND_EDITING |
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 5 | #include <stddef.h> |
Eric Andersen | b3d6e2d | 2001-03-13 22:57:56 +0000 | [diff] [blame^] | 6 | #include "busybox.h" |
Erik Andersen | 13456d1 | 2000-03-16 08:09:57 +0000 | [diff] [blame] | 7 | |
Erik Andersen | 1d1d950 | 2000-04-21 01:26:49 +0000 | [diff] [blame] | 8 | void cmdedit_init(void); |
Eric Andersen | 501c88b | 2000-07-28 15:14:45 +0000 | [diff] [blame] | 9 | void cmdedit_terminate(void); |
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 10 | void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */ |
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 11 | |
Eric Andersen | b3d6e2d | 2001-03-13 22:57:56 +0000 | [diff] [blame^] | 12 | #endif /* BB_FEATURE_COMMAND_EDITING */ |
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 13 | |
Eric Andersen | 03f9c81 | 2000-07-07 20:37:12 +0000 | [diff] [blame] | 14 | #endif /* CMDEDIT_H */ |