-
Notifications
You must be signed in to change notification settings - Fork 0
/
minishell.h
33 lines (29 loc) · 1.42 KB
/
minishell.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minishell.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: yajallal <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/26 15:53:09 by yajallal #+# #+# */
/* Updated: 2023/05/30 16:00:20 by yajallal ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MINISHELL_H
# define MINISHELL_H
# include "./cmd_executer/cmd_executer.h"
# include "./built_in_command/built_in_command.h"
# include "./expander/expander.h"
# include "./pars/pars.h"
# include "./pipes/pipes.h"
# include "structs.h"
/*-----minishell.c-----*/
void sigint_signal(int signal);
void sigquit_signal(int signal);
/*-----minishell_tools.c-----*/
t_global_info *init_g_info(char **env);
void run_command(char *input, t_global_info *g_info, \
t_command **cmd);
void minishell_readline(t_global_info *g_info, \
t_command **cmd);
#endif