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

Method find_driver

ppdc/ppdc-source.cxx:137–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135//
136
137ppdcDriver * // O - Driver
138ppdcSource::find_driver(const char *f) // I - Driver file name
139{
140 ppdcDriver *d; // Current driver
141
142
143 for (d = (ppdcDriver *)drivers->first(); d; d = (ppdcDriver *)drivers->next())
144 if (!_cups_strcasecmp(f, d->pc_file_name->value))
145 return (d);
146
147 return (NULL);
148}
149
150
151//

Callers

nothing calls this directly

Calls 3

_cups_strcasecmpFunction · 0.85
firstMethod · 0.80
nextMethod · 0.80

Tested by

no test coverage detected