MCPcopy Create free account
hub / github.com/Entware/Entware / menu_get_prompt

Function menu_get_prompt

scripts/config/menu.c:655–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655const char *menu_get_prompt(struct menu *menu)
656{
657 if (menu->prompt)
658 return menu->prompt->text;
659 else if (menu->sym)
660 return menu->sym->name;
661 return NULL;
662}
663
664struct menu *menu_get_parent_menu(struct menu *menu)
665{

Callers 15

updateMenuMethod · 0.85
build_confFunction · 0.85
selected_confFunction · 0.85
show_helpFunction · 0.85
conf_choiceFunction · 0.85
conf_stringFunction · 0.85
conf_writeFunction · 0.85
show_helpFunction · 0.85
build_confFunction · 0.85
conf_choiceFunction · 0.85
conf_stringFunction · 0.85
confFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected