]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - tools/perf/ui/helpline.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_UI_HELPLINE_H_
3 #define _PERF_UI_HELPLINE_H_ 1
10 void (*push
)(const char *msg
);
11 int (*show
)(const char *fmt
, va_list ap
);
14 extern struct ui_helpline
*helpline_fns
;
16 void ui_helpline__init(void);
18 void ui_helpline__pop(void);
19 void ui_helpline__push(const char *msg
);
20 void ui_helpline__vpush(const char *fmt
, va_list ap
);
21 void ui_helpline__fpush(const char *fmt
, ...);
22 void ui_helpline__puts(const char *msg
);
23 void ui_helpline__printf(const char *fmt
, ...);
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_ */