summaryrefslogtreecommitdiff
path: root/src/uci/response.h
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-07-07 14:30:21 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-07-07 14:30:21 +0530
commit965bf81879b22a25fd9b0d17ce6defd3d51c6173 (patch)
treeeeadd04afb52e950a3345c7fa4bc51d94446a658 /src/uci/response.h
parent3c540db464f4034d0a393b076c79a26851f68f47 (diff)
engine can now send updates to uci
Diffstat (limited to 'src/uci/response.h')
-rw-r--r--src/uci/response.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/uci/response.h b/src/uci/response.h
index 17204f5..16652d2 100644
--- a/src/uci/response.h
+++ b/src/uci/response.h
@@ -1,10 +1,19 @@
#include "command.h"
#include "state.h"
+#include "../ipc.h"
-void handle_uci(uci_state *state, ucicmd cmd);
+void handle_uci(
+ uci_state *state,
+ engine_messages* engine_message,
+ ucicmd cmd
+);
void handle_initial(uci_state *state, ucicmd cmd);
void handle_idle(uci_state *state, ucicmd cmd);
void handle_sync(uci_state *state, ucicmd cmd);
void handle_ping(uci_state *state, ucicmd cmd);
-void handle_active(uci_state *state, ucicmd cmd);
+void handle_active(
+ uci_state *state,
+ engine_messages* engine_message,
+ ucicmd cmd
+);
void handle_halt(uci_state *state, ucicmd cmd);