40 lines
1.5 KiB
C
40 lines
1.5 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* builtins.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/10/29 22:09:51 by sede-san #+# #+# */
|
|
/* Updated: 2025/11/02 03:13:46 by sede-san ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef BUILTINS_H
|
|
# define BUILTINS_H
|
|
|
|
# include "minishell.h"
|
|
# include "ft_args.h"
|
|
|
|
/******************************************************************************/
|
|
/* Functions */
|
|
/******************************************************************************/
|
|
|
|
// cd.c
|
|
|
|
extern u_int8_t builtin_cd(t_command cmd, t_minishell *msh);
|
|
|
|
// echo.c
|
|
|
|
extern u_int8_t builtin_echo(t_command cmd);
|
|
|
|
// exit.c
|
|
|
|
extern u_int8_t builtin_exit(t_command cmd, t_minishell *msh);
|
|
|
|
// pwd.c
|
|
|
|
extern u_int8_t builtin_pwd(t_command cmd, t_minishell *msh);
|
|
|
|
#endif /* BUILTINS_H */
|