summaryrefslogtreecommitdiff
path: root/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec.h')
-rw-r--r--exec.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/exec.h b/exec.h
deleted file mode 100644
index 9ee8164..0000000
--- a/exec.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#pragma once
-
-#include "utils.h"
-#include "preproc.h"
-
-
-typedef struct {
- int old_fd;
- int new_fd;
-} FdRedirect;
-
-DECLARE_VEC(FdRedirect, FdRedirectVec)
-
-typedef struct {
- char** args;
- FdRedirectVec redirs;
- int stdin_fd;
- int stdout_fd;
- IntVec child_close_fds;
- IntVec parent_close_fds;
- Connector term;
-} Command;
-
-DECLARE_VEC(Command, CommandVec)
-
-void process_input_line(char* line, ShellState* shstate);