diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-31 21:41:33 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-31 21:41:33 +0200 |
| commit | b15ab562d74b5111ac7c9bd6e0ec185435902472 (patch) | |
| tree | 664a55a24d7e36a5f56bf1ce7b0ea96751e0cda0 /include/minishell.h | |
| parent | 808d1499f5708ad4eda3612416e62efe6fdff021 (diff) | |
| download | minishell-b15ab562d74b5111ac7c9bd6e0ec185435902472.tar.gz minishell-b15ab562d74b5111ac7c9bd6e0ec185435902472.tar.bz2 minishell-b15ab562d74b5111ac7c9bd6e0ec185435902472.zip | |
Removing ms_ prefix, Removing junk
Diffstat (limited to 'include/minishell.h')
| -rw-r--r-- | include/minishell.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/include/minishell.h b/include/minishell.h index 6a00ca8..4f33951 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -34,9 +34,6 @@ # include "libft_lst.h" # include "libft_util.h" -# include "ms_parse.h" -// # include "ms_eval.h" - /** ** \brief Value of pipe entry if closed */ @@ -62,31 +59,31 @@ typedef t_ftht* t_env; ** path.c */ -t_path ms_path_update(t_path path, char *path_var); +t_path path_update(t_path path, char *path_var); /* ** env.c */ -t_env ms_env_from_array(char **envp); -char **ms_env_to_array(t_env env); +t_env env_from_array(char **envp); +char **env_to_array(t_env env); /* ** builtin*.c - directory with all builtin commands */ -int ms_echo(char **argv); -int ms_cd(t_env env, char **argv); -int ms_pwd(void); -int ms_export(t_env env, char **argv); -int ms_unset(t_env env, char **argv); -int ms_env(t_env env); -int ms_exit(void); +int builtin_echo(char **argv); +int builtin_cd(t_env env, char **argv); +int builtin_pwd(void); +int builtin_export(t_env env, char **argv); +int builtin_unset(t_env env, char **argv); +int builtin_env(t_env env); +int builtin_exit(void); /* ** util.c - various utilitary functions */ -void ms_ht_del_str_entry(t_ftht_entry *entry); +void ht_del_str_entry(t_ftht_entry *entry); #endif |
