diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_s_struct.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/ft_s_struct.h b/src/ft_s_struct.h index 3d3d8a7..e2150eb 100644 --- a/src/ft_s_struct.h +++ b/src/ft_s_struct.h @@ -13,9 +13,17 @@ #ifndef FT_S_STRUCT_H #define FT_S_STRUCT_H -typedef struct s_data +typedef struct s_com { - char **envp; -} t_data; + char *com; + char **args; + struct s_com *next; +} t_com; + +typedef struct s_msh +{ + struct s_com *lcom; + char **envp; +} t_msh; #endif |