1 #ifndef _PERF_UI_HELPLINE_H_
2 #define _PERF_UI_HELPLINE_H_ 1
7 #include "../util/cache.h"
11 void (*push
)(const char *msg
);
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
);
24 extern char ui_helpline__current
[512];
26 #ifdef NO_NEWT_SUPPORT
27 static inline int ui_helpline__show_help(const char *format __maybe_unused
,
28 va_list ap __maybe_unused
)
33 extern char ui_helpline__last_msg
[];
34 int ui_helpline__show_help(const char *format
, va_list ap
);
35 #endif /* NO_NEWT_SUPPORT */
37 #ifdef NO_GTK2_SUPPORT
38 static inline int perf_gtk__show_helpline(const char *format __maybe_unused
,
39 va_list ap __maybe_unused
)
44 int perf_gtk__show_helpline(const char *format
, va_list ap
);
45 #endif /* NO_GTK2_SUPPORT */
47 #endif /* _PERF_UI_HELPLINE_H_ */
This page took 0.032452 seconds and 5 git commands to generate.