-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfillit.h
More file actions
executable file
·31 lines (28 loc) · 1.42 KB
/
fillit.h
File metadata and controls
executable file
·31 lines (28 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* fillit.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: schakor <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/23 18:18:38 by schakor #+# #+# */
/* Updated: 2018/02/06 17:21:58 by schakor ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FILLIT_H
# define FILLIT_H
# include <fcntl.h>
# include <unistd.h>
# include <stdlib.h>
# include "./libft/libft.h"
typedef unsigned short int t_uint16;
char *ft_read_file(char *file);
void ft_treat_file(char *content, t_uint16 **ret);
int ft_check_tetra(t_uint16 *tetra, int nb_tetra);
void ft_solve(t_uint16 *map, t_uint16 *tetra, int nb_tetra);
void ft_characterize_map(int nb_tetra, int position[26],
t_uint16 *tetra, int square);
void ft_reset_tuint16(t_uint16 *map);
void ft_reset_int(int *pos);
void ft_print_err(void);
#endif