1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/compiler.h>
9 extern pthread_mutex_t ui__lock;
10 extern void *perf_gtk_handle;
12 extern int use_browser;
14 void setup_browser(bool fallback_to_pager);
15 void exit_browser(bool wait_for_ok);
17 #ifdef HAVE_SLANG_SUPPORT
19 void ui__exit(bool wait_for_ok);
21 static inline int ui__init(void)
25 static inline void ui__exit(bool wait_for_ok __maybe_unused) {}
28 void ui__refresh_dimensions(bool force);
32 int stdio__config_color(const struct option *opt, const char *mode, int unset);
34 #endif /* _PERF_UI_H_ */