33 if (*shell_var == NULL)
53 value =
get_env(shell_var, key);
char * get_env(t_env *envp, const char *key)
void set_shell_var(t_env **shell_var, const char *key, const char *value)
char * ft_strcdup(const char *s, int c)
void add_shell_var_node(t_env **shell_var, const char *line)
char * ft_remove_quotes(char *str, char quote_type)
char * ft_strchr(const char *s, int c)
void ft_putstr_fd(char *s, int fd)
void shell_variable_update(t_ms_data *data, int status)
int handle_get_shell_variable(t_ms_data *data, const char *key)
int handle_shell_variable(t_ast *node, t_ms_data *data)
int handle_add_set_shell_variable(t_env **shell_var, char *line)