diff options
Diffstat (limited to 'exec.h')
| -rw-r--r-- | exec.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#pragma once + +#include "typeutils.h" +#include "parse.h" + +typedef struct { + char* key; + char* val; +} StrPair; + +DECLARE_VEC(StrPair, KeyValMap) +DECLARE_MAYBE(char*, MaybeStr) + +typedef struct { + KeyValMap aliases; + KeyValMap shell_vars; +} ShellState; + +void run_pipeline(Pipeline pl, ShellState* shstate); |
