/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_s_struct.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ /* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ /* */ /* ************************************************************************** */ #ifndef FT_S_STRUCT_H #define FT_S_STRUCT_H #include #include "ft_d_define.h" typedef struct s_lcom { char *com; char **args; struct s_lcom *next; } t_lcom; typedef struct s_msh { char *ps_one; char **envp; uint8_t ret; char **bu_ref; uint8_t (*bu_ptr[FT_BUILTINS_COUNT])(char **, struct s_msh*); struct s_lcom *curr; } t_msh; #endif