diff options
Diffstat (limited to 'include/minishell.h')
| -rw-r--r-- | include/minishell.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/minishell.h b/include/minishell.h index 2a426cf..3b97f6a 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,7 +6,7 @@ /* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/22 17:14:49 by dkaiser #+# #+# */ -/* Updated: 2025/01/15 17:20:56 by dkaiser ### ########.fr */ +/* Updated: 2025/01/15 18:24:09 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -42,8 +42,9 @@ int eval(t_node *node, t_env **env); char *get_cmd_path(char *cmd, t_env *env, int *return_code); int execute_cmd(t_cmd *cmd, t_env **env); char *format_string(char *str, t_env *env); -int set_return_code(int return_code, t_env **env); +int set_return_code(int return_code, t_env **env); int handle_redirections(t_redirection *redirs); -void *error(int err_code, char *err_text, int exit_code, int *ret_code); - +void *error(int err_code, char *err_text, int exit_code, + int *ret_code); +char *read_heredoc(char *delimiter); #endif |
