summaryrefslogtreecommitdiffstats
path: root/src/s_lpipes.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
commit487a66394061f2d14a2fa421302966b5442d643f (patch)
tree34237d4e9cb85f94bcefd46f399d2224dff3f6b3 /src/s_lpipes.h
parentCorrect shell prompt (diff)
download42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.gz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.bz2
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.xz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.zst
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.zip
I couldn't see shit
Diffstat (limited to 'src/s_lpipes.h')
-rw-r--r--src/s_lpipes.h25
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