diff options
Diffstat (limited to 'src/user/app/shell/shell.h')
-rw-r--r-- | src/user/app/shell/shell.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/user/app/shell/shell.h b/src/user/app/shell/shell.h index 986ce22..4c7eeb3 100644 --- a/src/user/app/shell/shell.h +++ b/src/user/app/shell/shell.h @@ -1,4 +1,10 @@ #pragma once +#include <stdbool.h> #include <stddef.h> -int parse(char *str, char **argv, size_t argvlen, char **redir); +struct redir { + const char *stdout; + bool append; +}; + +int parse(char *s, char **argv, size_t argvlen, struct redir *redir); |