diff --git a/includes/char.h b/includes/libft/char.h similarity index 100% rename from includes/char.h rename to includes/libft/char.h diff --git a/includes/color.h b/includes/libft/color.h similarity index 100% rename from includes/color.h rename to includes/libft/color.h diff --git a/includes/convert.h b/includes/libft/convert.h similarity index 100% rename from includes/convert.h rename to includes/libft/convert.h diff --git a/includes/libft/gnl.h b/includes/libft/gnl.h new file mode 100644 index 0000000..ab42a87 --- /dev/null +++ b/includes/libft/gnl.h @@ -0,0 +1,35 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* gnl.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rparodi +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2023/11/18 17:12:04 by rparodi #+# #+# */ +/* Updated: 2025/12/11 15:24:17 by rparodi ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef GNL_H +# define GNL_H + +# ifndef BUFFER_SIZE +# define BUFFER_SIZE 420 +# endif + +# include +# include + +char **memory_storage(void); +char *ft_get_line(char *str); +char *get_next_line(int fd); +void get_next_line_clear(void); +char *ft_get_next(char *str); +char *ft_get_line(char *str); +char *ft_strjoin_gnl(char *s1, char *s2, int i, int j); +int ft_strchr_index(char *str, char c); +char *file_converted(int fd); +char *ft_free(char *str); +char *ft_check(char *memory, int fd); + +#endif diff --git a/includes/list.h b/includes/libft/list.h similarity index 100% rename from includes/list.h rename to includes/libft/list.h diff --git a/includes/math.h b/includes/libft/math.h similarity index 100% rename from includes/math.h rename to includes/libft/math.h diff --git a/includes/memory.h b/includes/libft/memory.h similarity index 100% rename from includes/memory.h rename to includes/libft/memory.h diff --git a/includes/print.h b/includes/libft/print.h similarity index 100% rename from includes/print.h rename to includes/libft/print.h diff --git a/includes/str.h b/includes/libft/str.h similarity index 100% rename from includes/str.h rename to includes/libft/str.h