]> git.dkaiser.de - 42/minishell.git/commitdiff
adjusted header for env
authorChristopher Uhlig <chuhlig@1-D-6.42heilbronn.de>
Fri, 25 Oct 2024 13:51:12 +0000 (15:51 +0200)
committerChristopher Uhlig <chuhlig@1-D-6.42heilbronn.de>
Fri, 25 Oct 2024 13:51:12 +0000 (15:51 +0200)
include/minishell.h

index 2319e8b90282715247ac57708a3ef6ae92d0d3f1..7b6226e43292b7be869a9cd2bacd5d7e7ca55eda 100644 (file)
@@ -3,10 +3,10 @@
 /*                                                        :::      ::::::::   */
 /*   minishell.h                                        :+:      :+:    :+:   */
 /*                                                    +:+ +:+         +:+     */
-/*   By: dkaiser <dkaiser@student.42heilbronn.de    +#+  +:+       +#+        */
+/*   By: chuhlig <chuhlig@student.42.fr>            +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2024/06/22 17:14:49 by dkaiser           #+#    #+#             */
-/*   Updated: 2024/10/17 15:25:58 by dkaiser          ###   ########.fr       */
+/*   Updated: 2024/10/22 16:52:26 by chuhlig          ###   ########.fr       */
 /*                                                                            */
 /* ************************************************************************** */
 
@@ -29,7 +29,7 @@
 int                            init(void);
 int                            init_signal_handling(void);
 
-void                   repl(const char *prompt, t_env *env);
+void                   repl(const char *prompt, t_env **env);
 
 t_list                 *parse(t_token *tokens);
 t_node                 *parse_cmd(t_token *tokens);
@@ -37,5 +37,5 @@ t_redirection *collect_redirs(t_token **tokens);
 
 void                   print_ast(t_node *ast);
 
-int    eval(t_node *node, t_env *env);
+int    eval(t_node *node, t_env **env);
 #endif