13#ifndef DATA_STRUCTURE_H
14# define DATA_STRUCTURE_H
86# ifndef MAX_TOKENS_LEX
87# define MAX_TOKENS_LEX 1024
struct s_var t_var
Definition data_structure.h:30
struct s_data t_data
Definition data_structure.h:38
struct s_params t_params
Definition data_structure.h:36
struct s_command t_command
Definition data_structure.h:35
struct s_element t_element
Definition data_structure.h:25
struct s_garbage t_garbage
Definition data_structure.h:26
struct s_env_vars t_env_vars
Definition data_structure.h:29
struct s_tmp t_tmp
Definition data_structure.h:21
struct s_file t_file
Definition data_structure.h:22
struct s_token t_token
Definition data_structure.h:37
struct s_lexer_state t_lexer_state
Definition data_structure.h:33
Structure that handles all the command and there contents.
Definition data_structure.h:57
t_bool file_error
Definition data_structure.h:66
t_bool parse_error
Definition data_structure.h:67
char * path
Definition data_structure.h:61
int fd[2]
Definition data_structure.h:65
t_file * file_in
Definition data_structure.h:63
t_token * tokens
Definition data_structure.h:59
t_file * file_out
Definition data_structure.h:64
char ** envp
Definition data_structure.h:62
char ** toks
Definition data_structure.h:60
int return_value
Definition data_structure.h:68
struct s_command * next
Definition data_structure.h:58
General structure that have access to all needed in minishell.
Definition data_structure.h:45
t_env_vars env
Definition data_structure.h:47
t_garbage garbage
Definition data_structure.h:46
int ret
Definition data_structure.h:49
t_command * command
Definition data_structure.h:48
Basic node for an element of a linked list.
Definition garbage.h:26
Structure to handle all the data of a file.
Definition file.h:39
Head of the linked list.
Definition garbage.h:36
Structure used by lexer to efficiently have access to a bunch of variables.
Definition data_structure.h:96
unsigned int start
Definition data_structure.h:99
t_bool in_double_quote
Definition data_structure.h:101
char ** tokens
Definition data_structure.h:102
unsigned int j
Definition data_structure.h:98
t_bool in_single_quote
Definition data_structure.h:100
unsigned int i
Definition data_structure.h:97
const char * line
Definition data_structure.h:103
Basic structure to help manipulating heredocs (tmp file)
Definition file.h:29
Basic structure of linked list of strings.
Definition data_structure.h:76
char * str
Definition data_structure.h:77
struct s_token * next
Definition data_structure.h:78