Lines Matching defs:devices

35    	- sane_get_devices() : query list of scanner devices, backend must
36 probe for new devices.
49 devices when last frontend quits
79 * NULL terminated list of detected physical devices.
83 static P5_Device *devices = NULL;
86 * NULL terminated list of devices needed by sane_get_devices(), since
174 /* cold-plugging case : probe for already plugged devices */
183 * Called by SANE to find out about supported devices.
186 * This function can be used to query the list of devices that are
192 * function can be called repeatedly to detect when new devices become
193 * available. If argument local_only is true, only local devices are
194 * returned (devices directly attached to the machine that SANE is
196 * devices that are accessible to the SANE library.
203 * @param local_only SANE_TRUE if only local devices are required.
227 * Since sane_get_devices() may be called repeatedly to detect new devices,
229 * hot-plugging : we probe for devices plugged since sane_init() was called.
233 /* if no devices detected, just return an empty list */
234 if (devices == NULL)
245 /* count physical devices */
247 device = devices;
262 device = devices;
264 /* we build a list of SANE_Device from the list of attached devices */
329 if (devices == NULL)
339 if (devices)
341 device = devices;
350 device = devices;
1389 * Handle resources are free'd before disposing the handle. But devices
1504 /* free devices structs */
1505 for (dev = devices; dev; dev = nextdev)
1511 devices = NULL;
1513 /* now list of devices */
1530 /** @brief probe for all supported devices
1531 * This functions tries to probe if any of the supported devices of
1533 * 'devices' list
1588 * devices found)
1612 * with devices handled by the backend. The configuration parameter
1621 * devices found)
1640 for (device = devices; device; device = device->next)
1684 device->next = devices;
1685 devices = device;