23 lines
1.2 KiB
C
23 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* enviroment.h :+: :+: */
|
|
/* +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2025/02/04 16:26:35 by whaffman #+# #+# */
|
|
/* Updated: 2025/02/05 12:36:59 by whaffman ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef ENVIROMENT_H
|
|
# define ENVIROMENT_H
|
|
|
|
void add_enviroment(t_enviroment **enviroment, char *name, char *value);
|
|
void print_enviroment(t_enviroment *enviroment);
|
|
char *get_enviroment(t_enviroment *enviroment, char *name);
|
|
void free_enviroment(t_enviroment *enviroment);
|
|
int parse_enviroment(char **envp, t_enviroment **enviroment);
|
|
|
|
#endif // ENVIROMENT_H
|