aboutsummaryrefslogtreecommitdiff
path: root/include/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/env.h')
-rw-r--r--include/env.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/env.h b/include/env.h
index f3d3c75..a35bec3 100644
--- a/include/env.h
+++ b/include/env.h
@@ -3,13 +3,15 @@
/* ::: :::::::: */
/* env.h :+: :+: :+: */
/* +:+ +:+ +:+ */
-/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
+/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/08 16:53:39 by dkaiser #+# #+# */
-/* Updated: 2024/09/13 16:26:16 by dkaiser ### ########.fr */
+/* Updated: 2024/10/25 19:53:38 by chuhlig ### ########.fr */
/* */
/* ************************************************************************** */
+#include "libft.h"
+
typedef struct s_env
{
char *name;
@@ -17,8 +19,7 @@ typedef struct s_env
struct s_env *next;
} t_env;
+void getenvlst(t_env **env, char **en);
+void free_envlst(t_env **env);
char *env_get(t_env *env, char *name);
-void env_export(t_env *env, char *name, char *value);
-void env_unset(t_env *env, char *name);
-char **env_to_strlst(t_env *env);
-t_env **env_from_strlst(char **lst);
+char **env_to_strlst(t_env *env); \ No newline at end of file