norme
This commit is contained in:
@@ -13,8 +13,7 @@
|
||||
#ifndef MINISHELL_STRUCTS_H
|
||||
# define MINISHELL_STRUCTS_H
|
||||
|
||||
struct s_all;
|
||||
struct s_all *g_all;
|
||||
struct s_all *g_all;
|
||||
|
||||
enum e_token_id
|
||||
{
|
||||
@@ -22,10 +21,12 @@ enum e_token_id
|
||||
T_LESS = '<',
|
||||
T_GREAT = '>',
|
||||
T_PIPE = '|',
|
||||
T_DLESS, //'<<'
|
||||
T_DGREAT, //'>>'
|
||||
T_DLESS,
|
||||
T_DGREAT,
|
||||
T_WORD
|
||||
};
|
||||
// T_DLESS == '<<'
|
||||
// T_DGREAT == '>>'
|
||||
|
||||
typedef struct s_token
|
||||
{
|
||||
@@ -34,7 +35,7 @@ typedef struct s_token
|
||||
enum e_token_id id;
|
||||
} t_token;
|
||||
|
||||
typedef int (*t_builtin_ptr)(int,char **,struct s_all *);
|
||||
typedef int (*t_builtin_ptr)(int,char **,struct s_all *);
|
||||
|
||||
typedef struct s_cmd
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user