1 
2 // move_legal.h
3 
4 #ifndef MOVE_LEGAL_H
5 #define MOVE_LEGAL_H
6 
7 // includes
8 
9 #include "board.h"
10 #include "list.h"
11 #include "util.h"
12 
13 // functions
14 
15 extern bool move_is_pseudo  (int move, const board_t * board);
16 extern bool pseudo_is_legal (int move, const board_t * board);
17 extern bool move_is_legal   (int move, const board_t * board);
18 
19 extern void filter_legal    (list_t * list, const board_t * board);
20 
21 #endif // !defined MOVE_LEGAL_H
22 
23 // end of move_legal.h
24 
25