Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 #ifndef CONTROL_H
0003 #define CONTROL_H
0004 
0005 #include <stdbool.h>
0006 
0007 void control_init(const char *control_host, const char *control_port,
0008           bool server);
0009 void control_cleanup(void);
0010 void control_writeln(const char *str);
0011 char *control_readln(void);
0012 void control_expectln(const char *str);
0013 bool control_cmpln(char *line, const char *str, bool fail);
0014 
0015 #endif /* CONTROL_H */