diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 15:34:34 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 15:34:34 +0200 |
commit | a4c02cf9a4d13dc81b015a6acc19628e48b7367b (patch) | |
tree | a002631374e42f7c2580560748d1d94774bafa1a /src/ft_s_struct.h | |
parent | More info (diff) | |
download | 42-minishell-a4c02cf9a4d13dc81b015a6acc19628e48b7367b.tar.gz 42-minishell-a4c02cf9a4d13dc81b015a6acc19628e48b7367b.tar.bz2 42-minishell-a4c02cf9a4d13dc81b015a6acc19628e48b7367b.tar.xz 42-minishell-a4c02cf9a4d13dc81b015a6acc19628e48b7367b.tar.zst 42-minishell-a4c02cf9a4d13dc81b015a6acc19628e48b7367b.zip |
Update
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 |