#ifndef _PERF_UI_H_
#define _PERF_UI_H_ 1

#include <pthread.h>
#include <stdbool.h>
#include <linux/compiler.h>

extern pthread_mutex_t ui__lock;
extern void *perf_gtk_handle;

extern int use_browser;

void setup_browser(bool fallback_to_pager);
void exit_browser(bool wait_for_ok);

#ifdef HAVE_SLANG_SUPPORT
int ui__init(void);
void ui__exit(bool wait_for_ok);
#else
static inline int ui__init(void)
{
	return -1;
}
static inline void ui__exit(bool wait_for_ok __maybe_unused) {}
#endif

void ui__refresh_dimensions(bool force);

struct option;

int stdio__config_color(const struct option *opt, const char *mode, int unset);

#endif /* _PERF_UI_H_ */
owspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='391e2a6de9781e4906dd7e0b1cc097050bf43e11'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/crypto/aead.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/crypto/aead.h?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/crypto/aead.h?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/crypto/aead.h?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/crypto/aead.h'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='391e2a6de9781e4906dd7e0b1cc097050bf43e11'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/crypto?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11'>crypto</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/crypto/aead.h?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11'>aead.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/crypto/aead.h?h=nds-private-remove&amp;id=391e2a6de9781e4906dd7e0b1cc097050bf43e11&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>