aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/vsock/control.h
blob: 54a07efd267c2f37cdc83521e524968cf5403894 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);

#endif /* CONTROL_H */