summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/syntax.h b/src/syntax.h
index 07d5437..02e3145 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -201,10 +201,11 @@ typedef struct {
static const Channel STDIN_CHA = {.fd = STDIN_FILENO, .parent_proc_closable = false, .child_proc_closable = false};
static const Channel STDOUT_CHA = {.fd = STDOUT_FILENO, .parent_proc_closable = false, .child_proc_closable = false};
+DECLARE_VEC(Channel, ChannelVec)
+
typedef struct {
char** args;
FdRedirectVec redirects;
Channel read_cha, write_cha;
- IntVec parent_open_fds;
- IntVec child_open_fds;
+ ChannelVec other_open_channels;
} ExecutableCommand;