mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-03-15 11:26:51 +01:00
43 lines
1.5 KiB
C
43 lines
1.5 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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 */
|
|
/* Updated: 2024/05/03 10:24:15 by adjoly ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef MINISHELL_H
|
|
# define MINISHELL_H
|
|
|
|
# include <stdio.h>
|
|
# 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 "env.h"
|
|
# include "parsing.h"
|
|
# include "execution.h"
|
|
|
|
char set_env(char **env, const char *name, char *content);
|
|
bool is_str(char *src, char *dst);
|
|
void print_cmd(t_cmd *cmd);
|
|
|
|
|
|
void free_redir(void *redir_v);
|
|
void free_token(void *token_v);
|
|
void free_cmd(void *content);
|
|
|
|
#endif
|