Linux Audio

Check our new training course

Loading...
v3.15
 
 1#ifndef _PERF_UI_HELPLINE_H_
 2#define _PERF_UI_HELPLINE_H_ 1
 3
 4#include <stdio.h>
 5#include <stdarg.h>
 6
 7#include "../util/cache.h"
 8
 9struct ui_helpline {
10	void (*pop)(void);
11	void (*push)(const char *msg);
12	int  (*show)(const char *fmt, va_list ap);
13};
14
15extern struct ui_helpline *helpline_fns;
16
17void ui_helpline__init(void);
18
19void ui_helpline__pop(void);
20void ui_helpline__push(const char *msg);
21void ui_helpline__vpush(const char *fmt, va_list ap);
22void ui_helpline__fpush(const char *fmt, ...);
23void ui_helpline__puts(const char *msg);
 
24int  ui_helpline__vshow(const char *fmt, va_list ap);
25
26extern char ui_helpline__current[512];
27extern char ui_helpline__last_msg[];
28
29#endif /* _PERF_UI_HELPLINE_H_ */
v5.9
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _PERF_UI_HELPLINE_H_
 3#define _PERF_UI_HELPLINE_H_ 1
 4
 5#include <stdio.h>
 6#include <stdarg.h>
 7
 
 
 8struct ui_helpline {
 9	void (*pop)(void);
10	void (*push)(const char *msg);
11	int  (*show)(const char *fmt, va_list ap);
12};
13
14extern struct ui_helpline *helpline_fns;
15
16void ui_helpline__init(void);
17
18void ui_helpline__pop(void);
19void ui_helpline__push(const char *msg);
20void ui_helpline__vpush(const char *fmt, va_list ap);
21void ui_helpline__fpush(const char *fmt, ...);
22void ui_helpline__puts(const char *msg);
23void ui_helpline__printf(const char *fmt, ...);
24int  ui_helpline__vshow(const char *fmt, va_list ap);
25
26extern char ui_helpline__current[512];
27extern char ui_helpline__last_msg[];
28
29#endif /* _PERF_UI_HELPLINE_H_ */