aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 6191debb1..66781da4f 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1924,7 +1924,14 @@ unsigned size_from_HISTFILESIZE(const char *hp) FAST_FUNC;
1924# else 1924# else
1925# define MAX_HISTORY 0 1925# define MAX_HISTORY 0
1926# endif 1926# endif
1927typedef const char *get_exe_name_t(int i) FAST_FUNC; 1927typedef struct exe_state {
1928 int e_type; /* type of tab completion: builtin, alias, function */
1929 int e_index; /* index of current table entry or hash bucket */
1930# if ENABLE_SHELL_ASH || (ENABLE_SHELL_HUSH && ENABLE_HUSH_FUNCTIONS)
1931 void *e_ptr; /* current position in linked list */
1932# endif
1933} exe_state;
1934typedef const char *get_exe_name_t(exe_state *e) FAST_FUNC;
1928typedef const char *sh_get_var_t(const char *name) FAST_FUNC; 1935typedef const char *sh_get_var_t(const char *name) FAST_FUNC;
1929typedef struct line_input_t { 1936typedef struct line_input_t {
1930 int flags; 1937 int flags;