Merge tag 'fixes-for-v4.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi...
[linux/fpc-iii.git] / tools / perf / ui / helpline.h
blob46181f4fc07ebf2133e97898bd21acf5fe9c7551
1 #ifndef _PERF_UI_HELPLINE_H_
2 #define _PERF_UI_HELPLINE_H_ 1
4 #include <stdio.h>
5 #include <stdarg.h>
7 #include "../util/cache.h"
9 struct ui_helpline {
10 void (*pop)(void);
11 void (*push)(const char *msg);
12 int (*show)(const char *fmt, va_list ap);
15 extern struct ui_helpline *helpline_fns;
17 void ui_helpline__init(void);
19 void ui_helpline__pop(void);
20 void ui_helpline__push(const char *msg);
21 void ui_helpline__vpush(const char *fmt, va_list ap);
22 void ui_helpline__fpush(const char *fmt, ...);
23 void ui_helpline__puts(const char *msg);
24 int ui_helpline__vshow(const char *fmt, va_list ap);
26 extern char ui_helpline__current[512];
27 extern char ui_helpline__last_msg[];
29 #endif /* _PERF_UI_HELPLINE_H_ */