base/config/kconfig/menu.c File Reference

Include dependency graph for menu.c:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LKC_DIRECT_LINK

Functions

void menu_init (void)
void menu_add_entry (struct symbol *sym)
void menu_end_entry (void)
void menu_add_menu (void)
void menu_end_menu (void)
exprmenu_check_dep (struct expr *e)
void menu_add_dep (struct expr *dep)
void menu_set_type (int type)
propertymenu_add_prop (enum prop_type type, char *prompt, struct expr *expr, struct expr *dep)
void menu_add_prompt (enum prop_type type, char *prompt, struct expr *dep)
void menu_add_expr (enum prop_type type, struct expr *expr, struct expr *dep)
void menu_add_symbol (enum prop_type type, struct symbol *sym, struct expr *dep)
void menu_finalize (struct menu *parent)
bool menu_is_visible (struct menu *menu)
const char * menu_get_prompt (struct menu *menu)
menumenu_get_root_menu (struct menu *menu)
menumenu_get_parent_menu (struct menu *menu)
filefile_lookup (const char *name)

Variables

menu rootmenu
menucurrent_menu
menucurrent_entry
static struct menu ** last_entry_ptr
filefile_list
filecurrent_file


Define Documentation

#define LKC_DIRECT_LINK

Definition at line 9 of file menu.c.


Function Documentation

struct file* file_lookup ( const char *  name  ) 

Definition at line 358 of file menu.c.

References file_list, file::name, and file::next.

void menu_add_dep ( struct expr dep  ) 

Definition at line 82 of file menu.c.

References current_entry, menu::dep, expr_alloc_and(), and menu_check_dep().

Here is the call graph for this function:

void menu_add_entry ( struct symbol sym  ) 

Definition at line 25 of file menu.c.

References current_entry, current_file, current_menu, menu::file, last_entry_ptr, file::lineno, menu::next, menu::sym, and zconf_lineno().

Here is the call graph for this function:

void menu_add_expr ( enum prop_type  type,
struct expr expr,
struct expr dep 
)

Definition at line 126 of file menu.c.

References property::expr, and menu_add_prop().

Here is the call graph for this function:

void menu_add_menu ( void   ) 

Definition at line 45 of file menu.c.

References current_entry, current_menu, last_entry_ptr, and menu::list.

void menu_add_prompt ( enum prop_type  type,
char *  prompt,
struct expr dep 
)

Definition at line 121 of file menu.c.

References menu_add_prop().

Here is the call graph for this function:

struct property* menu_add_prop ( enum prop_type  type,
char *  prompt,
struct expr expr,
struct expr dep 
)

Definition at line 102 of file menu.c.

References current_entry, expr_value::expr, property::expr, menu::file, menu::lineno, property::menu, menu_check_dep(), file::name, menu::prompt, prop_alloc(), menu::sym, property::text, and property::visible.

Referenced by conf_parse(), menu_add_expr(), menu_add_prompt(), and menu_add_symbol().

Here is the call graph for this function:

void menu_add_symbol ( enum prop_type  type,
struct symbol sym,
struct expr dep 
)

Definition at line 131 of file menu.c.

References expr_alloc_symbol(), menu_add_prop(), and property::sym.

Referenced by menu_finalize().

Here is the call graph for this function:

struct expr* menu_check_dep ( struct expr e  ) 

Definition at line 57 of file menu.c.

References E_AND, E_NOT, E_OR, E_SYMBOL, expr_data::expr, expr_alloc_and(), expr_alloc_symbol(), modules_sym, expr::right, symbol_mod, and expr::type.

Referenced by menu_add_dep(), and menu_add_prop().

Here is the call graph for this function:

void menu_end_entry ( void   ) 

Definition at line 41 of file menu.c.

void menu_end_menu ( void   ) 

Definition at line 51 of file menu.c.

References current_menu, last_entry_ptr, menu::next, and menu::parent.

void menu_finalize ( struct menu parent  ) 

Definition at line 136 of file menu.c.

References current_entry, symbol::dep, menu::dep, symbol::dep2, E_CHOICE, E_SYMBOL, E_UNEQUAL, property::expr, expr_value::expr, expr_alloc_and(), expr_alloc_one(), expr_alloc_or(), expr_alloc_symbol(), expr_contains_symbol(), expr_copy(), expr_depends_symbol(), expr_eliminate_dups(), expr_eliminate_eq(), expr_free(), expr_is_yes(), expr_trans_bool(), expr_trans_compare(), expr_transform(), property::file, menu::file, symbol::flags, property::lineno, menu::lineno, menu::list, property::menu, menu_add_symbol(), menu_finalize(), menu_set_type(), symbol::name, file::name, symbol::next, property::next, menu::next, P_CHOICE, P_DEFAULT, P_PROMPT, P_RANGE, P_SELECT, menu::parent, menu::prompt, symbol::prop, prop_get_symbol(), symbol::rev_dep, expr::right, S_BOOLEAN, S_HEX, S_INT, S_STRING, S_TRISTATE, S_UNKNOWN, expr_data::sym, menu::sym, sym_get_choice_prop(), sym_is_choice(), sym_is_optional(), sym_string_valid(), SYMBOL_CHOICEVAL, symbol_mod, symbol_no, SYMBOL_WARNED, property::text, expr::type, property::type, symbol::type, and property::visible.

Referenced by conf_parse(), and menu_finalize().

Here is the call graph for this function:

struct menu* menu_get_parent_menu ( struct menu menu  ) 

Definition at line 346 of file menu.c.

References P_MENU, menu::parent, menu::prompt, rootmenu, and property::type.

Referenced by check_conf().

const char* menu_get_prompt ( struct menu menu  ) 

Definition at line 332 of file menu.c.

References symbol::name, menu::prompt, menu::sym, and property::text.

Referenced by build_conf(), conf(), conf_choice(), conf_write(), display_tree(), fill_row(), show_help(), text_insert_help(), and update_tree().

struct menu* menu_get_root_menu ( struct menu menu  ) 

Definition at line 341 of file menu.c.

References rootmenu.

void menu_init ( void   ) 

Definition at line 19 of file menu.c.

References current_entry, current_menu, last_entry_ptr, menu::list, and rootmenu.

Referenced by conf_parse().

bool menu_is_visible ( struct menu menu  ) 

Definition at line 306 of file menu.c.

References expr_value::expr, expr_calc_value(), menu::list, menu::next, no, menu::prompt, menu::sym, sym_calc_value(), sym_get_tristate_value(), expr_value::tri, property::visible, and symbol::visible.

Referenced by build_conf(), check_conf(), conf(), conf_choice(), conf_write(), display_tree(), fill_row(), and update_tree().

Here is the call graph for this function:

void menu_set_type ( int  type  ) 

Definition at line 87 of file menu.c.

References current_entry, menu::file, menu::lineno, symbol::name, file::name, S_UNKNOWN, menu::sym, sym_type_name(), and symbol::type.

Referenced by menu_finalize().

Here is the call graph for this function:


Variable Documentation

struct menu * current_entry

Definition at line 13 of file menu.c.

Referenced by menu_add_dep(), menu_add_entry(), menu_add_menu(), menu_add_prop(), menu_finalize(), menu_init(), and menu_set_type().

struct file* current_file

Definition at line 17 of file menu.c.

Referenced by menu_add_entry(), prop_alloc(), and zconf_endtoken().

struct menu* current_menu

Definition at line 13 of file menu.c.

Referenced by menu_add_entry(), menu_add_menu(), menu_end_menu(), menu_init(), and zconf_endtoken().

struct file* file_list

Definition at line 16 of file menu.c.

Referenced by file_lookup().

struct menu** last_entry_ptr [static]

Definition at line 14 of file menu.c.

Referenced by menu_add_entry(), menu_add_menu(), menu_end_menu(), and menu_init().

struct menu rootmenu

Definition at line 12 of file menu.c.

Referenced by change_sym_value(), conf(), conf_parse(), conf_write(), display_list(), display_tree(), load_filename(), main(), menu_get_parent_menu(), menu_get_root_menu(), menu_init(), on_back_pressed(), on_full_clicked(), on_show_all_options1_activate(), on_show_debug_info1_activate(), on_single_clicked(), renderer_edited(), toggle_sym_value(), update_tree(), and zconfdump().


Generated on Tue Feb 2 17:46:34 2010 for RTAI API by  doxygen 1.4.7