#ifndef _PERF_UI_UTIL_H_
#define _PERF_UI_UTIL_H_ 1

#include <stdarg.h>

int ui__getch(int delay_secs);
int ui__popup_menu(int argc, char * const argv[]);
int ui__help_window(const char *text);
int ui__dialog_yesno(const char *msg);
int ui__question_window(const char *title, const char *text,
			const char *exit_msg, int delay_secs);

struct perf_error_ops {
	int (*error)(const char *format, va_list args);
	int (*warning)(const char *format, va_list args);
};

int perf_error__register(struct perf_error_ops *eops);
int perf_error__unregister(struct perf_error_ops *eops);

#endif /* _PERF_UI_UTIL_H_ */
go' rowspan='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='d166f56bf58b64027679905a01001df9ac0764bd'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>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/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=d166f56bf58b64027679905a01001df9ac0764bd'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/sched/sch_hhf.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/sched/sch_hhf.c?id=d166f56bf58b64027679905a01001df9ac0764bd'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_hhf.c?id=d166f56bf58b64027679905a01001df9ac0764bd'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/sched/sch_hhf.c?id=d166f56bf58b64027679905a01001df9ac0764bd'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/sched/sch_hhf.c'>
<input type='hidden' name='id' value='d166f56bf58b64027679905a01001df9ac0764bd'/><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/?id=d166f56bf58b64027679905a01001df9ac0764bd'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?id=d166f56bf58b64027679905a01001df9ac0764bd'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/sched?id=d166f56bf58b64027679905a01001df9ac0764bd'>sched</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/sched/sch_hhf.c?id=d166f56bf58b64027679905a01001df9ac0764bd'>sch_hhf.c</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/net/sched/sch_hhf.c?id=d166f56bf58b64027679905a01001df9ac0764bd&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>