summaryrefslogtreecommitdiffstats
path: root/src/ft_s_struct.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-05-07 09:21:26 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-05-07 09:21:26 +0200
commit7a413fb5b8aee5373e6e48d7130d90c6c2110215 (patch)
tree5fd0aceb03538e15f7db05ec7e5865adb5ac2a87 /src/ft_s_struct.h
parentVars not ok (diff)
download42-minishell-7a413fb5b8aee5373e6e48d7130d90c6c2110215.tar.gz
42-minishell-7a413fb5b8aee5373e6e48d7130d90c6c2110215.tar.bz2
42-minishell-7a413fb5b8aee5373e6e48d7130d90c6c2110215.tar.xz
42-minishell-7a413fb5b8aee5373e6e48d7130d90c6c2110215.tar.zst
42-minishell-7a413fb5b8aee5373e6e48d7130d90c6c2110215.zip
Added pipes struct
Diffstat (limited to '')
-rw-r--r--src/ft_s_struct.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ft_s_struct.h b/src/ft_s_struct.h
index b6804bf..58c4273 100644
--- a/src/ft_s_struct.h
+++ b/src/ft_s_struct.h
@@ -26,6 +26,13 @@
** 0: means no redirection
*/
+typedef struct s_lpipes
+{
+ char *com;
+ char **argv;
+ struct s_lpipes *next;
+} t_lpipes;
+
typedef struct s_lvars
{
char *name;