diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-30 17:27:33 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-30 17:27:33 +0200 |
commit | 25f16106a8f4e9be81d5f415783a0675580605bc (patch) | |
tree | bb3c96fda7d97c5d6a8fa056515756dd26d301a7 /src/ft_s_lvars.h | |
parent | yessaye (diff) | |
parent | BSD magick test (diff) | |
download | 42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.tar.gz 42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.tar.bz2 42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.tar.xz 42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.tar.zst 42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.zip |
Merge branch 'vars'
Diffstat (limited to 'src/ft_s_lvars.h')
-rw-r--r-- | src/ft_s_lvars.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ft_s_lvars.h b/src/ft_s_lvars.h new file mode 100644 index 0000000..0f46d7d --- /dev/null +++ b/src/ft_s_lvars.h @@ -0,0 +1,29 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_s_lvars.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef FT_S_LVARS_H +#define FT_S_LVARS_H + +#include "ft_s_struct.h" + +void ft_lvars_rebind(t_lvars **lvars, + const char name[], + const char newval[]); +void ft_lvars_delone(t_lvars **lvars, + const char name[]); +void ft_lvars_add_front(t_lvars **alvars, + t_lvars *new); +void ft_lvars_clear(t_lvars **lvars); +t_lvars *ft_lvars_new(const char name[], + const char val[]); + +#endif |