int init(void);
int init_signal_handling(void);
- void repl(const char *prompt, t_env **env);
+ void repl(const char *prompt, t_env **env, int *promptflag);
-t_list *parse(t_token *tokens, t_env **env);
+t_node *parse(t_token *tokens, t_env **env);
t_node *parse_cmd(t_token *tokens, t_env **env);
-t_redirection *collect_redirs(t_token **tokens, t_env *env, t_list **cf);
+t_redirection *collect_redirs(t_token **tokens, t_env *env,
+ t_list **create_files);
void print_ast(t_node *ast);
void tokenizer(char *s, t_token **token_list,
char quote_check);
void print_token(t_token *token);
-
+void free_token2(t_token *token);
+void free_token_and_connect2(t_token *token);
#endif