aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main.h b/src/main.h
index 2b8505b..aaaea13 100644
--- a/src/main.h
+++ b/src/main.h
@@ -10,14 +10,16 @@ typedef enum{
Stdout=0,
Redirect=1,
Pipe=2,
- If=3,
- Continue=4
+ Continue=3,
+ If=4,
} cmd_t;
-typedef struct{
+typedef struct CMD{
char *cmd;
cmd_t type;
- char *Stdout;
+ int stdInFd;
+ struct CMD *next;
+ int status;
} CMD;
#endif