18 // I need to make a uniform string type.
20 #define UciStringSize 4096
21 #define MultiPVStackSize 256
32 option_list_t option[1];
53 move_t best_pv[LineSize];
54 char bestmove[UciStringSize];
61 move_t current_line[LineSize];
68 int multipvScore[MultiPVStackSize];
69 move_t multipvMove[MultiPVStackSize];
70 char info[UciStringSize];
82 EVENT_RESIGN = 1 << 7,
83 EVENT_ILLEGAL_MOVE = 1 << 8,
93 extern void uci_open (uci_t * uci, engine_t * engine);
94 extern void uci_send_isready (uci_t * uci);
95 extern void uci_send_isready_sync (uci_t * uci);
96 extern void uci_send_stop (uci_t * uci);
97 extern void uci_send_stop_sync (uci_t * uci);
98 extern void uci_send_ucinewgame (uci_t * uci);
99 extern void uci_set_threads (uci_t * uci, int n);
100 extern const char * uci_thread_option(uci_t * uci);
101 extern bool uci_send_option (uci_t * uci, const char option[], const char format[], ...);
102 extern void uci_close (uci_t * uci);
103 extern void uci_clear (uci_t * uci);
104 extern int uci_parse (uci_t * uci, const char string[]);
106 #endif // !defined UCI_H