diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-04-29 11:47:02 +0200 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-04-29 11:47:02 +0200 |
commit | 961bda4f42562bf8ceb70a888730362d021c5552 (patch) | |
tree | 820577dc790c3a8884c44b329d04a8d42ed1ca44 /src/ft_s_struct.h | |
parent | simple really (diff) | |
parent | Trying vars (diff) | |
download | 42-minishell-961bda4f42562bf8ceb70a888730362d021c5552.tar.gz 42-minishell-961bda4f42562bf8ceb70a888730362d021c5552.tar.bz2 42-minishell-961bda4f42562bf8ceb70a888730362d021c5552.tar.xz 42-minishell-961bda4f42562bf8ceb70a888730362d021c5552.tar.zst 42-minishell-961bda4f42562bf8ceb70a888730362d021c5552.zip |
merge master into fmoenne_indahouse
Diffstat (limited to 'src/ft_s_struct.h')
-rw-r--r-- | src/ft_s_struct.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ft_s_struct.h b/src/ft_s_struct.h index 38eeb43..5b99acb 100644 --- a/src/ft_s_struct.h +++ b/src/ft_s_struct.h @@ -26,6 +26,13 @@ ** 0: means no redirection */ +typedef struct s_vars +{ + char *name; + char *val; + struct s_vars *next; +} t_vars; + typedef struct s_lcom { char *com; @@ -46,6 +53,7 @@ typedef struct s_msh char **bu_ref; uint8_t (*bu_ptr[FT_BUILTINS_COUNT])(char **, struct s_msh*); struct s_lcom *curr; + struct s_vars *vars; } t_msh; #endif |