blob: f47fc65838931ce31efde309eff409341b740ba1 (
plain)
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
34
35
|
#ifndef MINISHELL_H
# 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
|