10 typedef char *(*engine_notify_play
)(struct engine
*e
, struct board
*b
, struct move
*m
);
11 typedef char *(*engine_chat
)(struct engine
*e
, struct board
*b
, char *cmd
);
12 typedef coord_t
*(*engine_genmove
)(struct engine
*e
, struct board
*b
, enum stone color
);
13 /* One dead group per queued move (coord_t is (ab)used as group_t). */
14 typedef void (*engine_dead_group_list
)(struct engine
*e
, struct board
*b
, struct move_queue
*mq
);
15 typedef void (*engine_done_board_state
)(struct engine
*e
, struct board
*b
);
16 /* Pachi exit hook. */
17 typedef void (*engine_finish
)(struct engine
*e
);
22 board_cprint printhook
;
23 engine_notify_play notify_play
;
25 engine_genmove genmove
;
26 engine_dead_group_list dead_group_list
;
27 engine_done_board_state done_board_state
;