]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - tools/perf/ui/helpline.h
Input: wm97xx: add new AC97 bus support
[mirror_ubuntu-focal-kernel.git] / tools / perf / ui / helpline.h
CommitLineData
5575536f
ACM
1#ifndef _PERF_UI_HELPLINE_H_
2#define _PERF_UI_HELPLINE_H_ 1
3
3af6e338 4#include <stdio.h>
7bc7298d 5#include <stdarg.h>
3af6e338 6
0985a948
NK
7#include "../util/cache.h"
8
e6e90468
NK
9struct ui_helpline {
10 void (*pop)(void);
11 void (*push)(const char *msg);
b56e5331 12 int (*show)(const char *fmt, va_list ap);
e6e90468
NK
13};
14
15extern struct ui_helpline *helpline_fns;
16
1e6dd077 17void ui_helpline__init(void);
e6e90468 18
5575536f
ACM
19void ui_helpline__pop(void);
20void ui_helpline__push(const char *msg);
59e8fe32 21void ui_helpline__vpush(const char *fmt, va_list ap);
5575536f
ACM
22void ui_helpline__fpush(const char *fmt, ...);
23void ui_helpline__puts(const char *msg);
9484b86e 24void ui_helpline__printf(const char *fmt, ...);
b56e5331 25int ui_helpline__vshow(const char *fmt, va_list ap);
5575536f 26
e6e90468 27extern char ui_helpline__current[512];
1254b51e 28extern char ui_helpline__last_msg[];
0985a948 29
5575536f 30#endif /* _PERF_UI_HELPLINE_H_ */