diff options
Diffstat (limited to 'include/ms_eval.h')
| -rw-r--r-- | include/ms_eval.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/include/ms_eval.h b/include/ms_eval.h deleted file mode 100644 index b53b845..0000000 --- a/include/ms_eval.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef MS_EVAL_H -# define MS_EVAL_H - -/** -** \file ms_eval.h -** \brief Evaluation module -*/ - -# include "minishell.h" - -/** -** \brief Evaluation state struct -*/ - -typedef struct -{ - int status; - int in_pipe[2]; // need stack pipe - int out_pipe[2]; - t_path path; - t_env env; -} t_eval_state; - -/** -** \brief Evaluation status struct -*/ - -typedef struct -{ - char *err; - int status; -} t_eval_status; - - -/** -** \brief Evaluate an AST -** \param state State of the evaluation -** \param ast Abstract syntax tree to evaluate -*/ - -int ms_eval(t_eval_state *state, t_ast *ast); - -#endif |
