42-archive/42sh/includes/exec.h
2016-11-13 23:59:34 +01:00

21 lines
300 B
C

#ifndef EXEC_H
# define EXEC_H
# include "lexer_parser.h"
typedef struct s_exec t_exec;
struct s_exec
{
t_type type;
int (*f)(t_btree *ast);
};
extern t_exec g_exec[];
int ft_exec(t_btree *ast);
int ft_exec(t_btree *ast);
int exec_semi(t_btree *ast);
int exec_pipe(t_btree *ast);
#endif