diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/minishell.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/minishell.h b/include/minishell.h index 2dc9a38..f47fc65 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -2,5 +2,34 @@ # define MINISHELL_H # include "libft.h" +# include "libft_ht.h" + + +typedef struct +{ + int argc; + char **argv; +} t_command; + +// void find_exe(char *name); + +typedef int t_status; + +/* +** +*/ + +/* +** builtin*.c +*/ + +typedef t_status (*t_builtin_func)(int argc, char **argv, char **envp); +t_builtin_func ms_echo; +t_builtin_func ms_cd; +t_builtin_func ms_pwd; +t_builtin_func ms_export; +t_builtin_func ms_unset; +t_builtin_func ms_env; +t_builtin_func ms_exit; #endif |
