From a14da2fe3864712dab4e7c4cfb5c323026d668de Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Fri, 10 Jul 2026 16:01:57 +0530 Subject: moving header files to include directory & moving resources in it's own directory i know currently there is race condition, but the code is getting too messy, i will continue to this after i make a vis tool to analyse how i should split up files & stuff the code rn needs intense restructing for it to make any more progress --- include/uci/response.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/uci/response.h (limited to 'include/uci/response.h') diff --git a/include/uci/response.h b/include/uci/response.h new file mode 100644 index 0000000..320b1f0 --- /dev/null +++ b/include/uci/response.h @@ -0,0 +1,24 @@ +#ifndef RESPONSE_H +#define RESPONSE_H + +#include "command.h" +#include "state.h" +#include "../ipc.h" + +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, + engine_messages* engine_message, + ucicmd cmd +); +void handle_halt(uci_state *state, ucicmd cmd); + +#endif // RESPONSE_H -- cgit v1.2.3