Fixed the length of the execution function
This commit is contained in:
parent
da948f58fe
commit
9276e1a8a5
6 changed files with 251 additions and 304 deletions
13
src/execution/execution_helpers.h
Normal file
13
src/execution/execution_helpers.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef EXECUTION_HELPERS_H
|
||||
#define EXECUTION_HELPERS_H
|
||||
|
||||
#include "../utils/ast/ast.h"
|
||||
#include "../utils/hash_map/hash_map.h"
|
||||
|
||||
int exec_ast_command(struct ast_command *command, struct hash_map *vars);
|
||||
int exec_ast_if(struct ast_if *if_node, struct hash_map *vars);
|
||||
int exec_ast_list(struct ast_list *list_node, struct hash_map *vars);
|
||||
int exec_ast_and_or(struct ast_and_or *ao_node, struct hash_map *vars);
|
||||
int exec_ast_redir(struct ast_redir *redir, struct hash_map *vars);
|
||||
|
||||
#endif // EXECUTION_HELPERS_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue