aboutsummaryrefslogtreecommitdiff
path: root/include/minishell.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/minishell.h')
-rw-r--r--include/minishell.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/minishell.h b/include/minishell.h
index df89630..ea9f687 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/20 14:39:38 by dkaiser ### ########.fr */
+/* Updated: 2025/01/20 17:18:48 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -57,4 +57,9 @@ int open_file(char *path, int flags, int mode);
int eval_rec(t_node *node, t_env **env, int in_fd);
int create_files(t_list *files);
+typedef struct s_minidata {
+ t_env *env;
+ t_list **create_files;
+} t_minidata;
+
#endif