Lines Matching refs:menu

20 static void conf(struct menu *menu);
21 static void check_conf(struct menu *menu);
44 static struct menu *rootEntry;
46 static void print_help(struct menu *menu) in print_help() argument
50 menu_get_ext_help(menu, &help); in print_help()
129 static int conf_string(struct menu *menu) in conf_string() argument
131 struct symbol *sym = menu->sym; in conf_string()
135 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
148 print_help(menu); in conf_string()
162 static int conf_sym(struct menu *menu) in conf_sym() argument
164 struct symbol *sym = menu->sym; in conf_sym()
168 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_sym()
225 print_help(menu); in conf_sym()
229 static int conf_choice(struct menu *menu) in conf_choice() argument
232 struct menu *child; in conf_choice()
235 sym = menu->sym; in conf_choice()
238 conf_sym(menu); in conf_choice()
253 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu)); in conf_choice()
263 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu)); in conf_choice()
267 for (child = menu->list; child; child = child->next) { in conf_choice()
307 print_help(menu); in conf_choice()
322 for (child = menu->list; child; child = child->next) { in conf_choice()
344 static void conf(struct menu *menu) in conf() argument
348 struct menu *child; in conf()
350 if (!menu_is_visible(menu)) in conf()
353 sym = menu->sym; in conf()
354 prop = menu->prompt; in conf()
364 if (input_mode != oldaskconfig && rootEntry != menu) { in conf()
365 check_conf(menu); in conf()
370 prompt = menu_get_prompt(menu); in conf()
385 conf_choice(menu); in conf()
395 conf_string(menu); in conf()
398 conf_sym(menu); in conf()
405 for (child = menu->list; child; child = child->next) in conf()
411 static void check_conf(struct menu *menu) in check_conf() argument
414 struct menu *child; in check_conf()
416 if (!menu_is_visible(menu)) in check_conf()
419 sym = menu->sym; in check_conf()
440 rootEntry = menu_get_parent_menu(menu); in check_conf()
446 for (child = menu->list; child; child = child->next) in check_conf()