From 5dc7a4036025bd7c3f997f08e2d9b14338c0e528 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 28 Feb 2020 16:00:02 +0100 Subject: Added eval.c draft --- include/minishell.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/minishell.h') diff --git a/include/minishell.h b/include/minishell.h index 5e27ffa..97293c2 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/26 15:33:51 by cacharle #+# #+# */ -/* Updated: 2020/02/28 12:34:21 by cacharle ### ########.fr */ +/* Updated: 2020/02/28 15:30:10 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -30,6 +30,8 @@ # include "ms_parse.h" # define MS_PATH_KEY "PATH" +# define MS_PIPE_WRITE 1 +# define MS_PIPE_READ 0 typedef struct { @@ -43,6 +45,12 @@ typedef struct t_ftht *environment; } t_state; +typedef struct +{ + int pipe_in[2]; + int pipe_out[2]; +} t_command_frame; + /* ** state.c */ -- cgit