diff --git a/include/parsing.h b/include/parsing.h index 16699da..e5fc7c9 100644 --- a/include/parsing.h +++ b/include/parsing.h @@ -6,26 +6,25 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/04/25 12:20:26 by adjoly #+# #+# */ -/* Updated: 2024/05/07 14:07:10 by adjoly ### ########.fr */ +/* Updated: 2024/05/18 20:50:05 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef PARSING_H # define PARSING_H -#include "libft.h" +# include "libft.h" + +# define HEREDOC_FD -2 typedef struct s_cmd { char *cmd; char **argv; + int infile; + int outfile; } t_cmd; -typedef struct s_parsing -{ - -} t_parsing; - t_cmd *split_cmd(char *cmd_av); t_list *split_pipe(char *readline);