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

Function get_relations_str

scripts/config/menu.c:840–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838}
839
840struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head)
841{
842 struct symbol *sym;
843 struct gstr res = str_new();
844 int i;
845
846 for (i = 0; sym_arr && (sym = sym_arr[i]); i++)
847 get_symbol_str(&res, sym, head);
848 if (!i)
849 str_append(&res, "No matches found.\n");
850 return res;
851}
852
853
854void menu_get_ext_help(struct menu *menu, struct gstr *help)

Callers 2

search_confFunction · 0.85
search_confFunction · 0.85

Calls 3

str_newFunction · 0.85
get_symbol_strFunction · 0.85
str_appendFunction · 0.85

Tested by

no test coverage detected