/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* rush02.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet # include # include # include # include # include # define PATH "./numbers.dict" # define LINES_NEED 41 struct s_number { char *nbr; char *apc; }; int ft_strcmp(char *str1, char *str2); int ft_print_dicterror(char *str); typedef struct s_number t_number; char *cat(char *dest, char *src); char *ctoa(char c, unsigned int size); int ft_lines_counter(char **strs); int ft_lenght(unsigned int nb); int ft_dict_validator(char *path); t_number *ft_dictionnary_reader(char *path); int ft_dict_is_valid(char *path); int ft_strstr(char *str, char *to_find); char *ft_atonbr(char *str); char *ft_atoapc(char *str); char *ft_filereader(char *path); char **ft_split(char *str, char *charset); int ft_strlen(char *str); int ft_tablen(t_number *tab); unsigned int ft_atoi(char *str); char *ft_reverse_str(char *str); void ft_putstr(char *str); char *ft_tabnbr(unsigned int nb); int ft_print_errors(char *str); void ft_printapc(char **tab, t_number *dict); char **ft_decompose(char *nbr); #endif