aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-09 20:40:49 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-09 20:41:22 +0200
commita55e414f6709c6b22ff9805cd32a40fae9da2538 (patch)
treeeae9b8e9d6415b9b68d847ee83e4f3f4c126be87 /include
parent4f3b4275d79d2c9d9fe3de3932e235ce2262e5f5 (diff)
downloadminishell-a55e414f6709c6b22ff9805cd32a40fae9da2538.tar.gz
minishell-a55e414f6709c6b22ff9805cd32a40fae9da2538.tar.bz2
minishell-a55e414f6709c6b22ff9805cd32a40fae9da2538.zip
Added interpolation prototype (segfault on linux otherwise)
Diffstat (limited to 'include')
-rw-r--r--include/minishell.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/minishell.h b/include/minishell.h
index b878f41..d205e29 100644
--- a/include/minishell.h
+++ b/include/minishell.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/26 15:33:51 by cacharle #+# #+# */
-/* Updated: 2020/10/09 13:45:24 by cacharle ### ########.fr */
+/* Updated: 2020/10/09 20:40:08 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -149,4 +149,7 @@ bool utils_strisblank(char *str);
bool setup(char *first_arg, t_env env);
+size_t interpolate(
+ char *str, size_t i, t_tok_lst **curr_addr, enum e_tok prev_tag, t_env env);
+
#endif