aboutsummaryrefslogtreecommitdiffstats
path: root/src/lush.h
diff options
context:
space:
mode:
authorGravatar BanceDev 2024-09-18 12:17:27 -0400
committerGravatar BanceDev 2024-09-18 12:17:27 -0400
commitb7718ede99f3a4817fdea01d32b3bbb4a713eb8e (patch)
treeccc2e509cf073d3beb8057eb0f70d08ee28c2664 /src/lush.h
parentchanged tokenizer to handle all the chaining operators (diff)
added basic && chaining
Diffstat (limited to '')
-rw-r--r--src/lush.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lush.h b/src/lush.h
index 6836be2..564dd4b 100644
--- a/src/lush.h
+++ b/src/lush.h
@@ -38,8 +38,9 @@ char *lush_read_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(char ***commands, int num_commands);
void lush_format_prompt(const char *prompt_format);