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

Function variable_lookup

scripts/config/preprocess.c:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237};
238
239static struct variable *variable_lookup(const char *name)
240{
241 struct variable *v;
242
243 list_for_each_entry(v, &variable_list, node) {
244 if (!strcmp(name, v->name))
245 return v;
246 }
247
248 return NULL;
249}
250
251static char *variable_expand(const char *name, int argc, char *argv[])
252{

Callers 2

variable_expandFunction · 0.85
variable_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected