mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
5a2b242563
Some tests can fail with transports that have a slightly different behavior, so let's add the possibility to specify which tests to skip. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
410 B
C
16 lines
410 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef CONTROL_H
|
|
#define CONTROL_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
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 */
|