summaryrefslogtreecommitdiffstats
path: root/src/p_subst_alias.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 14:42:37 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 14:42:37 +0200
commitdcc57c744bfb24d37c390dc51d1ff9e9d7be795f (patch)
treef7ee3ce5afd10571213bb26dca8bb778a0d6d1f4 /src/p_subst_alias.h
parentNormed p_subst_alias (diff)
download42-minishell-dcc57c744bfb24d37c390dc51d1ff9e9d7be795f.tar.gz
42-minishell-dcc57c744bfb24d37c390dc51d1ff9e9d7be795f.tar.bz2
42-minishell-dcc57c744bfb24d37c390dc51d1ff9e9d7be795f.tar.xz
42-minishell-dcc57c744bfb24d37c390dc51d1ff9e9d7be795f.tar.zst
42-minishell-dcc57c744bfb24d37c390dc51d1ff9e9d7be795f.zip
Normed p_subst_alias
Diffstat (limited to 'src/p_subst_alias.h')
-rw-r--r--src/p_subst_alias.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/p_subst_alias.h b/src/p_subst_alias.h
index 2aa29fb..7a797f6 100644
--- a/src/p_subst_alias.h
+++ b/src/p_subst_alias.h
@@ -18,13 +18,14 @@
# include "s_struct.h"
-struct s_subst_alias
+struct s_subst_alias
{
- char value[ARG_MAX];
- char tmp[255];
- size_t locat[2];
- size_t usedcmp;
- t_bool good;
+ char value[ARG_MAX];
+ char tmp[255];
+ size_t locat[2];
+ t_msh *msh;
+ size_t usedcmp;
+ t_bool good;
};
size_t p_subst_alias(char word[], t_bool reset, t_msh *msh);