Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
util.h File Reference
#include <stdarg.h>

Go to the source code of this file.

Data Structures

struct  perf_error_ops


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)
int perf_error__register (struct perf_error_ops *eops)
int perf_error__unregister (struct perf_error_ops *eops)

Function Documentation

int perf_error__register ( struct perf_error_ops eops)

perf_error__register - Register error logging functions : The pointer to error logging function struct

Register UI-specific error logging functions. Before calling this, other logging functions should be unregistered, if any.

Definition at line 63 of file util.c.

int perf_error__unregister ( struct perf_error_ops eops)

perf_error__unregister - Unregister error logging functions : The pointer to error logging function struct

Unregister already registered error logging functions.

Definition at line 78 of file util.c.

int ui__dialog_yesno ( const char msg)

Definition at line 206 of file util.c.

int ui__getch ( int  delay_secs)

Definition at line 48 of file setup.c.

int ui__help_window ( const char text)

Definition at line 201 of file util.c.

int ui__popup_menu ( int  argc,
char *const  argv[] 

Definition at line 59 of file util.c.

int ui__question_window ( const char title,
const char text,
const char exit_msg,
int  delay_secs 

Definition at line 154 of file util.c.