diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-28 16:00:02 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-28 16:00:02 +0100 |
| commit | 5dc7a4036025bd7c3f997f08e2d9b14338c0e528 (patch) | |
| tree | db45975de56f58a64bf6370d5a441b9299c6899d /include/minishell.h | |
| parent | cc1b57c96cc8c0fdd53e781b54a83bb9c743179a (diff) | |
| download | minishell-5dc7a4036025bd7c3f997f08e2d9b14338c0e528.tar.gz minishell-5dc7a4036025bd7c3f997f08e2d9b14338c0e528.tar.bz2 minishell-5dc7a4036025bd7c3f997f08e2d9b14338c0e528.zip | |
Added eval.c draft
Diffstat (limited to 'include/minishell.h')
| -rw-r--r-- | include/minishell.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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 */ |
