diff options
Diffstat (limited to 'src/s_lpipes.h')
-rw-r--r-- | src/s_lpipes.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/s_lpipes.h b/src/s_lpipes.h new file mode 100644 index 0000000..1fc6eec --- /dev/null +++ b/src/s_lpipes.h @@ -0,0 +1,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_lcom *lcom, t_msh *msh); + +#endif |