From 487a66394061f2d14a2fa421302966b5442d643f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 27 Jul 2020 18:55:07 +0200 Subject: I couldn't see shit --- src/s_lvars.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/s_lvars.h (limited to 'src/s_lvars.h') diff --git a/src/s_lvars.h b/src/s_lvars.h new file mode 100644 index 0000000..6bc0a99 --- /dev/null +++ b/src/s_lvars.h @@ -0,0 +1,29 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* s_lvars.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef S_LVARS_H +#define S_LVARS_H + +#include "s_struct.h" + +void lvars_rebind(t_lvars **lvars, + const char name[], + const char newval[]); +void lvars_delone(t_lvars **lvars, + const char name[]); +void lvars_add_front(t_lvars **alvars, + t_lvars *new); +void lvars_clear(t_lvars **lvars); +t_lvars *lvars_new(const char name[], + const char val[]); + +#endif -- cgit v1.2.3 From 2ed2a9d739b6dd3be489792ef510b1f2085ab4ce Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 3 Aug 2020 16:56:17 +0200 Subject: Cleaner headers --- src/s_lvars.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/s_lvars.h') diff --git a/src/s_lvars.h b/src/s_lvars.h index 6bc0a99..163f6cc 100644 --- a/src/s_lvars.h +++ b/src/s_lvars.h @@ -15,15 +15,10 @@ #include "s_struct.h" -void lvars_rebind(t_lvars **lvars, - const char name[], - const char newval[]); -void lvars_delone(t_lvars **lvars, - const char name[]); -void lvars_add_front(t_lvars **alvars, - t_lvars *new); +void lvars_rebind(t_lvars **lvars, const char name[], const char newval[]); +void lvars_delone(t_lvars **lvars, const char name[]); +void lvars_add_front(t_lvars **alvars, t_lvars *new); void lvars_clear(t_lvars **lvars); -t_lvars *lvars_new(const char name[], - const char val[]); +t_lvars *lvars_new(const char name[], const char val[]); #endif -- cgit v1.2.3