blob: 54a07efd267c2f37cdc83521e524968cf5403894 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001#ifndef CONTROL_H
2#define CONTROL_H
3
4#include <stdbool.h>
5
6void control_init(const char *control_host, const char *control_port,
7 bool server);
8void control_cleanup(void);
9void control_writeln(const char *str);
10char *control_readln(void);
11void control_expectln(const char *str);
12
13#endif /* CONTROL_H */