summaryrefslogtreecommitdiffstats
path: root/src/s_lpipes.h
blob: 7b90d2c37597d655f3b5ae78afc0547291e9249a (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_lpipes.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_LPIPES_H
#define S_LPIPES_H

#include "s_struct.h"

struct s_lpipes	*lpipes_last(struct s_lpipes *lpipes);
void			lpipes_add_back(struct s_lpipes **alpipes,
								struct s_lpipes *new);
void			lpipes_clear(struct s_lpipes **lpipes);
struct s_lpipes	*lpipes_new(const char pipedword[], t_msh *msh);
struct s_lpipes	*split_pipes(const char word[], t_line *line, t_msh *msh);

#endif