summaryrefslogtreecommitdiff
path: root/src/exec.h
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-21 12:44:01 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-21 12:44:01 +0200
commitfc27548c447ed9bcd07493983431e0a6e72c7cef (patch)
treedbb25a8cc09cbacd8d0d1dcd4a3962f468f96551 /src/exec.h
parent2efe642849cf6d45d5413cd77d8cafaf9b32db00 (diff)
restructure dir
Diffstat (limited to 'src/exec.h')
-rw-r--r--src/exec.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/exec.h b/src/exec.h
deleted file mode 100644
index 9ee8164..0000000
--- a/src/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);