mirror of https://gitee.com/openkylin/linux.git
14 lines
306 B
C
14 lines
306 B
C
#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 */
|