From 808d1499f5708ad4eda3612416e62efe6fdff021 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 31 Mar 2020 21:31:26 +0200 Subject: More specific AST struct and evaluation start --- include/minishell.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'include/minishell.h') diff --git a/include/minishell.h b/include/minishell.h index 9931b15..6a00ca8 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -35,18 +35,25 @@ # include "libft_util.h" # include "ms_parse.h" +// # include "ms_eval.h" + +/** +** \brief Value of pipe entry if closed +*/ + +# define PIPE_CLOSED -1 /** ** \brief Pipe write index */ -# define MS_PIPE_WRITE 1 +# define PIPE_WRITE 1 /** ** \brief Pipe read index */ -# define MS_PIPE_READ 0 +# define PIPE_READ 0 typedef t_ftht* t_path; typedef t_ftht* t_env; @@ -80,6 +87,6 @@ int ms_exit(void); ** util.c - various utilitary functions */ -void ms_ht_del_str_entry(t_ftht_content *content); +void ms_ht_del_str_entry(t_ftht_entry *entry); #endif -- cgit