summaryrefslogtreecommitdiffstats
path: root/src/ft_s_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_s_struct.h')
-rw-r--r--src/ft_s_struct.h11
1 files changed, 11 insertions, 0 deletions
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 <stdint.h>
#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;