summaryrefslogtreecommitdiffstats
path: root/src/ft_s_lvars.h
blob: 0f46d7deafbceab76877c18fde0d7793d599a79f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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