diff options
| author | Christopher Uhlig | 2024-10-17 14:22:47 +0200 |
|---|---|---|
| committer | Christopher Uhlig | 2024-10-17 14:22:47 +0200 |
| commit | 981d02c8544388e81abf1423c31578c50d019d28 (patch) | |
| tree | 195ea0964faa8abcf23712715111b2f21837e9d1 /include/env.h | |
| parent | 9b1ddf7b3491f26d8b3ba9daeca7174aede9c781 (diff) | |
| parent | 85d82207526e7220bd14bc96e5f8079ec781fc75 (diff) | |
| download | minishell-981d02c8544388e81abf1423c31578c50d019d28.tar.gz minishell-981d02c8544388e81abf1423c31578c50d019d28.zip | |
removed merch conflict
Diffstat (limited to 'include/env.h')
| -rw-r--r-- | include/env.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/include/env.h b/include/env.h index 1ea6f2e..f3d3c75 100644 --- a/include/env.h +++ b/include/env.h @@ -6,18 +6,19 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/08/08 16:53:39 by dkaiser #+# #+# */ -/* Updated: 2024/08/08 17:05:11 by dkaiser ### ########.fr */ +/* Updated: 2024/09/13 16:26:16 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ -typedef struct s_env { - char *name; - char *value; - struct s_env *next; -} t_env; +typedef struct s_env +{ + char *name; + char *value; + struct s_env *next; +} t_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_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); |
