summaryrefslogtreecommitdiffstats
path: root/src/p_subst_alias.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 14:05:48 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 14:05:48 +0200
commit0bd9e2655d57084e5e66ec83bbadef75b78f2252 (patch)
treeaebbd0cd87fa79c8867b7f899384c005ae9b46f3 /src/p_subst_alias.h
parentNorming p_subst_alias (diff)
download42-minishell-0bd9e2655d57084e5e66ec83bbadef75b78f2252.tar.gz
42-minishell-0bd9e2655d57084e5e66ec83bbadef75b78f2252.tar.bz2
42-minishell-0bd9e2655d57084e5e66ec83bbadef75b78f2252.tar.xz
42-minishell-0bd9e2655d57084e5e66ec83bbadef75b78f2252.tar.zst
42-minishell-0bd9e2655d57084e5e66ec83bbadef75b78f2252.zip
In progress
Diffstat (limited to '')
-rw-r--r--src/p_subst_alias.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/p_subst_alias.h b/src/p_subst_alias.h
index 5d5476f..2aa29fb 100644
--- a/src/p_subst_alias.h
+++ b/src/p_subst_alias.h
@@ -18,6 +18,15 @@
# include "s_struct.h"
+struct s_subst_alias
+{
+ char value[ARG_MAX];
+ char tmp[255];
+ size_t locat[2];
+ size_t usedcmp;
+ t_bool good;
+};
+
size_t p_subst_alias(char word[], t_bool reset, t_msh *msh);
#endif