diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-04-01 18:10:56 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-04-01 18:10:56 +0200 |
| commit | 1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c (patch) | |
| tree | 8aae342f45c24169f0e9da55551e1a2ddca7503f /include/eval.h | |
| parent | 2eb59ee61e49b60472f82c000dd4f3536bd1987c (diff) | |
| download | minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.tar.gz minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.tar.bz2 minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.zip | |
Norm compliant comment format, dirty script for doxygen comments
Diffstat (limited to 'include/eval.h')
| -rw-r--r-- | include/eval.h | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/include/eval.h b/include/eval.h index 55cd497..31f729b 100644 --- a/include/eval.h +++ b/include/eval.h @@ -1,7 +1,19 @@ -#ifndef MS_EVAL_H -# define MS_EVAL_H +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* eval.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/04/01 17:05:30 by charles #+# #+# */ +/* Updated: 2020/04/01 17:53:26 by charles ### ########.fr */ +/* */ +/* ************************************************************************** */ -/** +#ifndef EVAL_H +# define EVAL_H + +/* ** \file eval.h ** \brief Evaluation module */ @@ -9,23 +21,23 @@ # include "minishell.h" # include "ast.h" -/** +/* ** \brief Evaluation state struct */ typedef struct { - int pipe_in[2]; // need stack pipe + int pipe_in[2]; int pipe_out[2]; t_path path; t_env env; } t_eval_state; -/** +/* ** \brief Evaluation status struct */ -typedef struct +typedef struct s_eval_status { char *err; int status; @@ -42,7 +54,7 @@ int eval(t_eval_state *state, t_ast *ast); */ bool exec_is_path(char *path_str); -bool exec_is_valid(char *exec_path); +bool exec_is_valid(char *exec_path); char *exec_search_path(t_path path, char *path_var, char *exec_name); /* |
