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