forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
410 B
15 lines
410 B
/* 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 */
|
|
|