/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* redirection_private.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet # include # include # include # include "../libftx/libftx.h" # include "../data/data.h" # include "../env/env.h" # include "../utils/utils.h" # include "../cmd/cmd.h" int ft_file_is_readable(t_data *data, const char *path); int ft_file_is_writable(t_data *data, const char *path); bool ft_check_redirection(t_data *data, t_cmd *cmd, char *redirection_identifier, char *redirection); int ft_file_is_appendable(t_data *data, const char *path); int ft_heredoc(t_data *data, char *stop); #endif