From 2c3c1048746a4622d8c89a29670120dc8fab93c4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:49:45 +0200 Subject: Adding upstream version 6.1.76. Signed-off-by: Daniel Baumann --- tools/testing/vsock/control.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/testing/vsock/control.h (limited to 'tools/testing/vsock/control.h') diff --git a/tools/testing/vsock/control.h b/tools/testing/vsock/control.h new file mode 100644 index 000000000..51814b4f9 --- /dev/null +++ b/tools/testing/vsock/control.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef CONTROL_H +#define CONTROL_H + +#include + +void control_init(const char *control_host, const char *control_port, + bool server); +void control_cleanup(void); +void control_writeln(const char *str); +char *control_readln(void); +void control_expectln(const char *str); +bool control_cmpln(char *line, const char *str, bool fail); + +#endif /* CONTROL_H */ -- cgit v1.2.3