summaryrefslogtreecommitdiffstats
path: root/src/s_lvars.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_lvars.h')
-rw-r--r--src/s_lvars.h29
1 files changed, 29 insertions, 0 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* 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