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

Function cupsdRegisterColor

scheduler/colorman.c:139–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 */
138
139void
140cupsdRegisterColor(cupsd_printer_t *p) /* I - Printer */
141{
142#ifdef __APPLE__
143 if (!RunUser)
144 {
145 apple_unregister_profiles(p);
146 apple_register_profiles(p);
147 }
148
149#elif defined(HAVE_DBUS)
150 if (!RunUser)
151 {
152 colord_unregister_printer(p);
153 colord_register_printer(p);
154 }
155#endif /* __APPLE__ */
156}
157
158
159/*

Callers 2

cupsdStartColorFunction · 0.85
add_printerFunction · 0.85

Calls 4

apple_register_profilesFunction · 0.85
colord_register_printerFunction · 0.85

Tested by

no test coverage detected