| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | #ifndef CONTROL_H |
| 2 | #define CONTROL_H | ||||
| 3 | |||||
| 4 | #include <stdbool.h> | ||||
| 5 | |||||
| 6 | void control_init(const char *control_host, const char *control_port, | ||||
| 7 | bool server); | ||||
| 8 | void control_cleanup(void); | ||||
| 9 | void control_writeln(const char *str); | ||||
| 10 | char *control_readln(void); | ||||
| 11 | void control_expectln(const char *str); | ||||
| 12 | |||||
| 13 | #endif /* CONTROL_H */ | ||||