diff options
| author | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-14 21:41:17 +0200 |
|---|---|---|
| committer | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-14 21:41:17 +0200 |
| commit | 5009a29f4b13786673198616838a8bd8c93cdc50 (patch) | |
| tree | e1e0fda1b46063626b10a913cf9bfc62c1edbd84 /exec.h | |
| parent | 6632fa4168c4d619c60e55c9eeedf90f6ef50234 (diff) | |
add more expansion code
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); |
