Lines Matching refs:devices
45 int count; /* Number of devices found */
73 static cups_array_t *devices; /* Array of devices */
75 static int device_limit; /* Maximum number of devices */
107 * 'main()' - Scan for devices and return an IPP response.
240 * Setup the devices array...
243 devices = cupsArrayNew((cups_array_func_t)compare_devices, NULL);
279 * Collect devices...
385 if (cupsArrayFind(devices, device))
395 cupsArrayAdd(devices, device);
397 if (device_limit <= 0 || cupsArrayCount(devices) < device_limit)
442 * Sort devices by device-info, device-class, and device-uri...
605 * Add the device to the array of available devices...
733 * 'start_backend()' - Run a backend to gather the available devices.