2024-04-26 13:54:10 +02:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
|
|
|
/* minishell.h :+: :+: :+: */
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
/* Created: 2024/04/26 09:38:51 by mmoussou #+# #+# */
|
2024-05-06 20:52:14 +02:00
|
|
|
/* Updated: 2024/05/06 20:30:42 by mmoussou ### ########.fr */
|
2024-05-07 11:04:20 +02:00
|
|
|
/* Updated: 2024/05/03 10:24:15 by adjoly ### ########.fr */
|
2024-04-26 13:54:10 +02:00
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
|
|
|
#ifndef MINISHELL_H
|
|
|
|
# define MINISHELL_H
|
|
|
|
|
|
|
|
# include <stdio.h>
|
2024-05-13 17:33:29 +02:00
|
|
|
# include <readline/readline.h>
|
2024-04-26 13:54:10 +02:00
|
|
|
# include <stdlib.h>
|
2024-05-06 20:52:14 +02:00
|
|
|
# include <stdint.h>
|
2024-05-19 05:49:22 +02:00
|
|
|
# include <sys/types.h>
|
|
|
|
# include <sys/stat.h>
|
2024-05-20 11:22:25 +02:00
|
|
|
# include <sys/wait.h>
|
|
|
|
# include <fcntl.h>
|
2024-05-19 05:49:22 +02:00
|
|
|
# include <unistd.h>
|
|
|
|
# include <dirent.h>
|
2024-04-26 13:54:10 +02:00
|
|
|
# include "libft.h"
|
|
|
|
|
2024-05-27 18:06:14 +02:00
|
|
|
# include "env.h"
|
2024-05-06 20:52:14 +02:00
|
|
|
# include "parsing.h"
|
|
|
|
# include "execution.h"
|
|
|
|
|
2024-04-29 13:06:19 +02:00
|
|
|
char set_env(char **env, const char *name, char *content);
|
2024-05-07 11:04:20 +02:00
|
|
|
bool is_str(char *src, char *dst);
|
2024-04-26 13:54:10 +02:00
|
|
|
|
|
|
|
#endif
|