summaryrefslogtreecommitdiffstats
path: root/src/s_lvars.h
blob: 4f0babdae0f833fc8b74341d78346ab9ce0e9aaa (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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   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