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

Function cupsdStartColor

scheduler/colorman.c:163–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 */
162
163void
164cupsdStartColor(void)
165{
166#if !defined(__APPLE__) && defined(HAVE_DBUS)
167 cupsd_printer_t *p; /* Current printer */
168
169
170 colord_con = dbus_bus_get(DBUS_BUS_SYSTEM, NULL);
171
172 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers);
173 p;
174 p = (cupsd_printer_t *)cupsArrayNext(Printers))
175 cupsdRegisterColor(p);
176#endif /* !__APPLE__ && HAVE_DBUS */
177}
178
179
180/*

Callers 1

cupsdStartServerFunction · 0.85

Calls 3

cupsArrayFirstFunction · 0.85
cupsArrayNextFunction · 0.85
cupsdRegisterColorFunction · 0.85

Tested by

no test coverage detected