update: added simple executor

This commit is contained in:
2025-10-29 20:57:15 +01:00
parent 13d5968b62
commit 31a8717bbe
2 changed files with 149 additions and 0 deletions

26
include/executor.h Normal file
View File

@@ -0,0 +1,26 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* executor.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/10/28 13:08:33 by sede-san #+# #+# */
/* Updated: 2025/10/28 14:20:23 by sede-san ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef EXECUTOR_H
# define EXECUTOR_H
# include "minishell.h"
/******************************************************************************/
/* Functions */
/******************************************************************************/
// executor.c
extern u_int8_t execute(t_command command, t_minishell *minishell);
#endif /* EXECUTOR_H */