diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-31 21:31:26 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-31 21:31:26 +0200 |
| commit | 808d1499f5708ad4eda3612416e62efe6fdff021 (patch) | |
| tree | 1a2da935d99724de64dfc9b77347c1f5805d9256 /include/minishell.h | |
| parent | 941099778b59da6b904c284e8a82affe4766124b (diff) | |
| download | minishell-808d1499f5708ad4eda3612416e62efe6fdff021.tar.gz minishell-808d1499f5708ad4eda3612416e62efe6fdff021.tar.bz2 minishell-808d1499f5708ad4eda3612416e62efe6fdff021.zip | |
More specific AST struct and evaluation start
Diffstat (limited to 'include/minishell.h')
| -rw-r--r-- | include/minishell.h | 13 |
1 files changed, 10 insertions, 3 deletions
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 |
