/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* executor.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: sede-san # define READ_PIPE 0 # define WRITE_PIPE 1 typedef struct s_pipeline { int prev_read_fd; int pipefd[2]; } t_pipeline; /******************************************************************************/ /* Functions */ /******************************************************************************/ // executor.c # define PIPE_ERROR -1 # define FORK_ERROR -1 extern uint8_t execute(t_list *command, t_minishell *minishell); #endif /* EXECUTOR_H */