From 1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 1 Apr 2020 18:10:56 +0200 Subject: Norm compliant comment format, dirty script for doxygen comments --- include/eval.h | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'include/eval.h') 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 +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* 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); /* -- cgit