/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* variables.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mcolonna +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/27 13:43:21 by mcolonna #+# #+# */ /* Updated: 2024/06/28 13:10:43 by mcolonna ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef VARIABLES_H # define VARIABLES_H typedef struct s_variable { const char *name; const char *value; } t_variable; // Set a variable to a new value. void variables_set(t_list *variables, const char *name, const char *value); // Get the value of a variable from its name. const char *variables_get(t_list *variables, const char *name); #endif