aboutsummaryrefslogtreecommitdiff
path: root/include/minishell.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/minishell.h')
-rw-r--r--include/minishell.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/minishell.h b/include/minishell.h
index ac00875..9551c1f 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/04/01 22:13:47 by charles ### ########.fr */
+/* Updated: 2020/04/05 14:52:20 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -34,6 +34,7 @@
# include "libft_lst.h"
# include "libft_util.h"
# include "libft_vec.h"
+# include "libft_dstr.h"
/*
** \brief Value of pipe entry if closed
@@ -70,6 +71,7 @@ t_path path_update(t_path path, char *path_var);
t_env env_from_array(char **envp);
char *env_search(t_env env, char *key);
+char *env_search_first_match(t_env env, const char *haystack);
/*
** builtin*.c - directory with all builtin commands
@@ -104,9 +106,9 @@ int builtin_env(char **argv, t_env env);
int builtin_exit(char **argv, t_env env);
/*
-** util.c - various utilitary functions
+** preprocess.c
*/
-void ht_del_str_entry(t_ftht_entry *entry);
+char *preprocess(char *input, t_env env);
#endif