17 const int OptionNb = 256;
\r
35 const char * author;
\r
38 option_t option[OptionNb];
\r
54 move_t pv[LineSize];
\r
59 move_t best_pv[LineSize];
\r
66 move_t current_line[LineSize];
\r
74 enum dummy_event_t {
\r
77 EVENT_READY = 1 << 1,
\r
78 EVENT_STOP = 1 << 2,
\r
79 EVENT_MOVE = 1 << 3,
\r
81 EVENT_DEPTH = 1 << 5,
\r
82 EVENT_DRAW = 1 << 6,
\r
83 EVENT_RESIGN= 1 << 7
\r
88 extern uci_t Uci[1];
\r
92 extern void uci_open (uci_t * uci, engine_t * engine);
\r
93 extern void uci_send_isready (uci_t * uci);
\r
94 extern void uci_send_isready_sync (uci_t * uci);
\r
95 extern void uci_send_stop (uci_t * uci);
\r
96 extern void uci_send_stop_sync (uci_t * uci);
\r
97 extern void uci_send_ucinewgame (uci_t * uci);
\r
98 extern void uci_set_threads (uci_t * uci, int n);
\r
99 extern bool uci_thread_option_exist(uci_t * uci);
\r
100 extern int uci_get_option (uci_t * uci, const char * name);
\r
102 extern bool uci_option_exist (uci_t * uci, const char option[]);
\r
103 extern void uci_send_option (uci_t * uci, const char option[], const char format[], ...);
\r
105 extern void uci_close (uci_t * uci);
\r
107 extern void uci_clear (uci_t * uci);
\r
109 extern int uci_parse (uci_t * uci, const char string[]);
\r
111 void uci_set_option(uci_t * uci,
\r
113 const char * value,
\r
119 #endif // !defined UCI_H
\r