diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-16 16:19:22 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-16 16:19:22 +0200 |
| commit | e439b71d807529734f04ce9d78b98c12022e7c72 (patch) | |
| tree | 59125ee91455ac607aa064965073c0eed20b3573 /include | |
| parent | 0a8f2cf987a55d6e1c4b210f0f99a1a1e4e4460a (diff) | |
| download | minishell-e439b71d807529734f04ce9d78b98c12022e7c72.tar.gz minishell-e439b71d807529734f04ce9d78b98c12022e7c72.tar.bz2 minishell-e439b71d807529734f04ce9d78b98c12022e7c72.zip | |
Refactoring main, all setup code in setup.c, disabled -c and -l flags if not tested
Diffstat (limited to 'include')
| -rw-r--r-- | include/minishell.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/minishell.h b/include/minishell.h index 6c7eaf0..58afe7f 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/09/15 20:34:19 by charles ### ########.fr */ +/* Updated: 2020/09/16 16:07:36 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -51,7 +51,7 @@ typedef t_ftvec* t_env; extern int g_last_status; -extern char *g_basename; +extern char *g_progname; /* ** path.c @@ -123,4 +123,10 @@ void signal_sigterm(int signum); void print_prompt(void); +/* +** setup.c +*/ + +bool setup(char *first_arg, t_env env); + #endif |
