aboutsummaryrefslogtreecommitdiff
path: root/include/minishell.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-03 15:13:08 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-03 15:13:08 +0200
commitc0e2ee28eedc1a9a886f9729a994d77738e2eb58 (patch)
treef099ec9b9effe0db078a521c9405c5765b68fd8f /include/minishell.h
parente5393671a265e1c301c6c303f21f938c4cf9ca75 (diff)
downloadminishell-c0e2ee28eedc1a9a886f9729a994d77738e2eb58.tar.gz
minishell-c0e2ee28eedc1a9a886f9729a994d77738e2eb58.tar.bz2
minishell-c0e2ee28eedc1a9a886f9729a994d77738e2eb58.zip
Refactoring env, connecting pipes, preprocess draft
Diffstat (limited to 'include/minishell.h')
-rw-r--r--include/minishell.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/minishell.h b/include/minishell.h
index ac00875..bc404d4 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/03 14:24:34 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
@@ -104,9 +105,19 @@ int builtin_env(char **argv, t_env env);
int builtin_exit(char **argv, t_env env);
/*
+** preprocess.c
+*/
+
+char *preprocess(char *input, t_env env);
+
+/*
** util.c - various utilitary functions
*/
-void ht_del_str_entry(t_ftht_entry *entry);
+int utils_directory_iter(
+ char *dirname,
+ void *param,
+ int (*f)(char*, struct dirent*, void*)
+ );
#endif