MCPcopy Create free account
hub / github.com/OpenPrinting/cups / find_variable

Method find_variable

ppdc/ppdc-source.cxx:273–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271//
272
273ppdcVariable * // O - Variable
274ppdcSource::find_variable(const char *n)// I - Variable name
275{
276 ppdcVariable *v; // Current variable
277
278
279 for (v = (ppdcVariable *)vars->first(); v; v = (ppdcVariable *)vars->next())
280 if (!_cups_strcasecmp(n, v->name->value))
281 return (v);
282
283 return (NULL);
284}
285
286
287//

Callers

nothing calls this directly

Calls 3

_cups_strcasecmpFunction · 0.85
firstMethod · 0.80
nextMethod · 0.80

Tested by

no test coverage detected