1 #ifndef CCAN_OSERVER_TYPES_H
2 #define CCAN_OSERVER_TYPES_H
7 RECEIVING_USER_QUESTION,
8 SENDING_OTHER_QUESTION_PREFIX,
9 SENDING_OTHER_QUESTION,
10 RECEIVING_OTHER_ANSWER,
11 SENDING_ANSWER_PREFIX,
17 /* What are we doing today, brain? */
19 /* Our event info, and the file descriptor. */
20 struct tevent_fd *fde;
22 /* The question we read from client. */
24 /* The answer to the client. */
26 /* How many bytes of the reply we sent so far. */
29 struct oserver *oserver;
30 /* Whose question this client is answering. */
31 struct client *subclient;
32 /* Who is answering our question. */
33 struct client *oracle;
37 /* 5 clients should be enough for anybody! */
38 struct client *clients[5];
40 struct tevent_fd *fde;
42 #endif /* CCAN_OSERVER_TYPES_H */