39 lines
1.4 KiB
C
Raw Normal View History

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minishell.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/26 09:38:51 by mmoussou #+# #+# */
/* 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 */
/* */
/* ************************************************************************** */
#ifndef MINISHELL_H
# define MINISHELL_H
# include <stdio.h>
2024-05-13 17:33:29 +02:00
# include <readline/readline.h>
# include <stdlib.h>
# include <stdint.h>
# include <sys/types.h>
# include <sys/stat.h>
# include <sys/wait.h>
# include <fcntl.h>
# include <unistd.h>
# include <dirent.h>
# include "libft.h"
# include "parsing.h"
# include "execution.h"
char set_env(char **env, const char *name, char *content);
2024-05-02 15:50:58 +02:00
char *get_hostname(void);
char *get_prompt(void);
char *get_pwd(void);
2024-05-07 11:04:20 +02:00
bool is_str(char *src, char *dst);
#endif