From 77786466e37063f44adf9d9494bf94bbb079d958 Mon Sep 17 00:00:00 2001 From: y-syo Date: Mon, 29 Apr 2024 13:06:19 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20wip(m?= =?UTF-8?q?inishell.h):=20added=20env=20things=20to=20the=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/minishell.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/include/minishell.h b/include/minishell.h index 7295083..ffc17a2 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,18 +6,29 @@ /* By: mmoussou # include # include # include "libft.h" -void get_env(char **env); +typedef struct s_env +{ + char *name; + char *content; + struct s_env *next; +} t_env; + +// + +char set_env(char **env, const char *name, char *content); #endif