summaryrefslogtreecommitdiffstats
path: root/src/s_line.h
blob: b46643f52f7e20650449afe3c310db7bb8a77287 (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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   s_line.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_LCOM_H
#define S_LCOM_H

#include <stdint.h>

#include "s_struct.h"

void			s_line_add_back(t_line_block **aline, t_line_block *new);
void			s_line_clear(t_line_block **line);
t_line_block	*s_line_new(const char word[], uint8_t nextif);
t_line_block	*s_line_last(t_line_block *line);

#endif