Loading...
Note: File does not exist in v3.1.
1/* SPDX-License-Identifier: GPL-2.0-only */
2#ifndef CONTROL_H
3#define CONTROL_H
4
5#include <stdbool.h>
6
7void control_init(const char *control_host, const char *control_port,
8 bool server);
9void control_cleanup(void);
10void control_writeln(const char *str);
11char *control_readln(void);
12void control_expectln(const char *str);
13bool control_cmpln(char *line, const char *str, bool fail);
14
15#endif /* CONTROL_H */