diff options
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |
