diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/env.h | 2 | ||||
| -rw-r--r-- | include/minishell.h | 1 | ||||
| -rw-r--r-- | include/token.h | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/env.h b/include/env.h index 56b50b5..bfb28c7 100644 --- a/include/env.h +++ b/include/env.h @@ -40,4 +40,4 @@ t_env *env_new(char *name); t_env *check_existing(t_env *env, char *av); int check_flag(int f); -#endif
\ No newline at end of file +#endif diff --git a/include/minishell.h b/include/minishell.h index 1139dbb..e9810bd 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -37,6 +37,7 @@ t_node *parse_cmd(t_token *tokens, t_env **env); t_redirection *collect_redirs(t_token **tokens, t_env *env, t_list **cf); void print_ast(t_node *ast); + int eval(t_node *node, t_env **env); char *get_cmd_path(char *cmd, t_env *env, int *return_code); int execute_cmd(t_cmd *cmd, t_env **env); diff --git a/include/token.h b/include/token.h index 993a408..bb7ea94 100644 --- a/include/token.h +++ b/include/token.h @@ -45,8 +45,7 @@ t_token *new_redir_token(int type, t_token *previous, t_token *next); void free_token(t_token *token); -void free_token_and_connect(t_token *token); -void free_tokens(t_token *tokens); + void tokenizer(char *s, t_token **token_list, char quote_check); void print_token(t_token *token); |
