Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / testing / vsock / control.h
blobc1f77fdb2c7a1c0e0b17baf9ed31a12347e6d063
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef CONTROL_H
3 #define CONTROL_H
5 #include <stdbool.h>
7 void control_init(const char *control_host, const char *control_port,
8 bool server);
9 void control_cleanup(void);
10 void control_writeln(const char *str);
11 char *control_readln(void);
12 unsigned long control_readulong(void);
13 void control_expectln(const char *str);
14 bool control_cmpln(char *line, const char *str, bool fail);
15 void control_writeulong(unsigned long value);
17 #endif /* CONTROL_H */