2023-03-10 06:32:39 -05:00
|
|
|
#ifndef DATA_H
|
|
|
|
# define DATA_H
|
|
|
|
# include "../libftx/libft/list.h"
|
|
|
|
|
|
|
|
typedef struct s_data
|
|
|
|
{
|
|
|
|
t_list **env;
|
|
|
|
t_list **cmds;
|
|
|
|
int exit_code;
|
2023-03-22 09:29:32 -04:00
|
|
|
int child_pid;
|
2023-03-10 06:32:39 -05:00
|
|
|
} t_data;
|
|
|
|
|
2023-03-22 09:59:19 -04:00
|
|
|
t_data *ft_get_data(void);
|
|
|
|
|
2023-03-10 06:32:39 -05:00
|
|
|
#endif
|