Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2#ifndef CONTROL_H
 3#define CONTROL_H
 4
 5#include <stdbool.h>
 6
 7void control_init(const char *control_host, const char *control_port,
 8		  bool server);
 9void control_cleanup(void);
10void control_writeln(const char *str);
11char *control_readln(void);
12unsigned long control_readulong(void);
13void control_expectln(const char *str);
14bool control_cmpln(char *line, const char *str, bool fail);
15void control_writeulong(unsigned long value);
16
17#endif /* CONTROL_H */
v4.17
 
 1#ifndef CONTROL_H
 2#define CONTROL_H
 3
 4#include <stdbool.h>
 5
 6void control_init(const char *control_host, const char *control_port,
 7		  bool server);
 8void control_cleanup(void);
 9void control_writeln(const char *str);
10char *control_readln(void);
 
11void control_expectln(const char *str);
 
 
12
13#endif /* CONTROL_H */