42_minishell/data/data.h

27 lines
1.1 KiB
C
Raw Normal View History

2023-03-28 09:55:08 -04:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* data.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/27 13:43:39 by cchauvet #+# #+# */
2023-04-05 11:32:04 -04:00
/* Updated: 2023/04/05 14:45:23 by alouis-j ### ########.fr */
2023-03-28 09:55:08 -04:00
/* */
/* ************************************************************************** */
#ifndef DATA_H
# define DATA_H
# include "../libftx/libft/list.h"
typedef struct s_data
{
t_list **env;
t_list **cmds;
2023-04-05 11:32:04 -04:00
int *exit_code;
} t_data;
2023-04-05 11:32:04 -04:00
int *ft_get_exit_code(void);
2023-03-22 09:59:19 -04:00
#endif