From aa988e7d6a789a88f74651df4468c9b480489387 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 22 Apr 2020 21:40:32 +0200 Subject: Starting to do redirections --- src/ft_s_struct.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/ft_s_struct.h') diff --git a/src/ft_s_struct.h b/src/ft_s_struct.h index 1f062c2..cccfaca 100644 --- a/src/ft_s_struct.h +++ b/src/ft_s_struct.h @@ -16,10 +16,21 @@ #include #include "ft_d_define.h" +/* +** redir(int8_t) index +** -------------------- +** -1: < +** 1: > +** 2: >> +** 0: means no redirection +*/ + typedef struct s_lcom { char *com; char **args; + int8_t redir; + char *rdrpath; struct s_lcom *next; } t_lcom; -- cgit v1.2.3