Lines Matching refs:menu
32 static struct menu *current_menu, *current_entry;
43 struct menu *menu; member
94 %type <menu> if_entry menu_entry choice_entry
367 menu: T_MENU prompt T_EOL
374 menu_entry: menu visibility_list depends_list
628 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
630 struct symbol *sym = menu->sym; in print_symbol()
658 if (prop->menu != menu) in print_symbol()
702 if (menu->help) { in print_symbol()
703 int len = strlen(menu->help); in print_symbol()
704 while (menu->help[--len] == '\n') in print_symbol()
705 menu->help[len] = 0; in print_symbol()
706 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
714 struct menu *menu; in zconfdump() local
716 menu = rootmenu.list; in zconfdump()
717 while (menu) { in zconfdump()
718 if ((sym = menu->sym)) in zconfdump()
719 print_symbol(out, menu); in zconfdump()
720 else if ((prop = menu->prompt)) { in zconfdump()
742 if (menu->list) in zconfdump()
743 menu = menu->list; in zconfdump()
744 else if (menu->next) in zconfdump()
745 menu = menu->next; in zconfdump()
746 else while ((menu = menu->parent)) { in zconfdump()
747 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
749 if (menu->next) { in zconfdump()
750 menu = menu->next; in zconfdump()