]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - tools/testing/vsock/control.h
Merge branch 'i2c/for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
[mirror_ubuntu-hirsute-kernel.git] / tools / testing / vsock / control.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef CONTROL_H
3 #define CONTROL_H
4
5 #include <stdbool.h>
6
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 void control_expectln(const char *str);
13 bool control_cmpln(char *line, const char *str, bool fail);
14
15 #endif /* CONTROL_H */