aboutsummaryrefslogtreecommitdiffstats
path: root/src/lush.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lush.h')
-rw-r--r--src/lush.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lush.h b/src/lush.h
index 15d4d71..291a8dd 100644
--- a/src/lush.h
+++ b/src/lush.h
@@ -35,11 +35,12 @@ int lush_num_builtins();
int lush_run(lua_State *L, char ***commands, int num_commands);
char *lush_read_line();
-char **lush_split_pipes(char *line);
+char **lush_split_commands(char *line);
char ***lush_split_args(char **commands, int *status);
-void lush_execute_command(char **args, int input_fd, int output_fd);
+int lush_execute_command(char **args, int input_fd, int output_fd);
int lush_execute_pipeline(char ***commands, int num_commands);
+int lush_execute_chain(lua_State *L, char ***commands, int num_commands);
void lush_format_prompt(const char *prompt_format);