aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-03-03 00:17:36 -0600
committericeyrazor <iceyrazor@mailfence.com>2026-03-03 00:17:36 -0600
commitf7af740cf2bccde2e6edbac31a0182fafe05d25e (patch)
treee110bdaee77f97d6dd4931e8daa28b77e19e1f63 /src/main.h
parent1b8967ea87c63342f03c340d44a084ea7f62cae9 (diff)
pipes
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