Minishell
 
Loading...
Searching...
No Matches
ft_free.c File Reference
#include "file.h"
#include "garbage.h"
#include "minishell.h"
Include dependency graph for ft_free.c:

Functions

void free_command (t_garbage *garbage, t_command *command)
 Free one t_command structure with all that it contains.
 
void free_commands (t_garbage *garbage, t_command **command)
 Free t_command linked list structure with all that it contains.
 
void free_tokens (t_garbage *garbage, t_token *token)
 Free t_tokens linked list structure.
 
void free_files_struct (t_garbage *garbage, t_file *file)
 Free linked list of t_file structure.
 
void free_heredoc (t_garbage *garbage, t_tmp *tmp)
 Free heredoc structure.