summaryrefslogtreecommitdiff
path: root/include/uci/response.h
blob: 320b1f026c894fea51d9aae79f805ce39216a3d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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