24 lines
1.0 KiB
C
24 lines
1.0 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_dict_error.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/07/31 20:41:33 by cchauvet #+# #+# */
|
||
|
/* Updated: 2022/07/31 20:55:47 by cchauvet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "rush02.h"
|
||
|
|
||
|
int ft_dict_validator(char *path)
|
||
|
{
|
||
|
if (ft_dict_is_valid(path) == 0)
|
||
|
{
|
||
|
ft_putstr("Dict Error\n");
|
||
|
return (0);
|
||
|
}
|
||
|
return (1);
|
||
|
}
|