#ifndef UCI_RESPONSE_H #define UCI_RESPONSE_H #include "uci/internals/command.h" #include "uci/state.h" enum { UCI_STATE_INITIAL, UCI_STATE_IDLE, UCI_STATE_SYNC, UCI_STATE_PING, UCI_STATE_ACTIVE, UCI_STATE_HALT, }; void handle_uci(uci_state_t *state, uci_cmd_t cmd); void handle_initial(uci_state_t *state, uci_cmd_t cmd); void handle_idle(uci_state_t *state, uci_cmd_t cmd); void handle_sync(uci_state_t *state, uci_cmd_t cmd); void handle_ping(uci_state_t *state, uci_cmd_t cmd); void handle_active(uci_state_t *state, uci_cmd_t cmd); void handle_halt(uci_state_t *state, uci_cmd_t cmd); #endif // UCI_RESPONSE_H