summaryrefslogtreecommitdiffstats
path: root/src/ft_s_lpipes.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-05-07 13:49:10 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-05-07 13:49:10 +0200
commit9666a0a0ef6f5a4fb30bac93797d0f029ad8294a (patch)
treea09f917723ae3a0dfeaef025b5e9a76e2c8602f2 /src/ft_s_lpipes.h
parentPreparing the structs (diff)
download42-minishell-9666a0a0ef6f5a4fb30bac93797d0f029ad8294a.tar.gz
42-minishell-9666a0a0ef6f5a4fb30bac93797d0f029ad8294a.tar.bz2
42-minishell-9666a0a0ef6f5a4fb30bac93797d0f029ad8294a.tar.xz
42-minishell-9666a0a0ef6f5a4fb30bac93797d0f029ad8294a.tar.zst
42-minishell-9666a0a0ef6f5a4fb30bac93797d0f029ad8294a.zip
Still pipin'
Diffstat (limited to 'src/ft_s_lpipes.h')
-rw-r--r--src/ft_s_lpipes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ft_s_lpipes.h b/src/ft_s_lpipes.h
index bbde11b..50fd693 100644
--- a/src/ft_s_lpipes.h
+++ b/src/ft_s_lpipes.h
@@ -13,4 +13,13 @@
#ifndef FT_S_LPIPES_H
#define FT_S_LPIPES_H
+#include "ft_s_struct.h"
+
+struct s_lpipes *ft_lpipes_last(struct s_lpipes *lpipes);
+void ft_lpipes_add_back(struct s_lpipes **alpipes,
+ struct s_lpipes *new);
+void ft_lpipes_clear(struct s_lpipes **lpipes);
+struct s_lpipes *ft_lpipes_new(const char pipedword[], t_msh *msh);
+struct s_lpipes *ft_split_pipes(const char word[], t_lcom *lcom, t_msh *msh);
+
#endif