27 lines
1.1 KiB
C
27 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* data.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/03/27 13:43:39 by cchauvet #+# #+# */
|
|
/* Updated: 2023/04/05 14:45:23 by alouis-j ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef DATA_H
|
|
# define DATA_H
|
|
# include "../libftx/libft/list.h"
|
|
|
|
typedef struct s_data
|
|
{
|
|
t_list **env;
|
|
t_list **cmds;
|
|
int *exit_code;
|
|
} t_data;
|
|
|
|
int *ft_get_exit_code(void);
|
|
|
|
#endif
|