kopia lustrzana https://gitlab.com/sane-project/backends
Moved the function to check the "usb VENDOR PRODUCT" config
lines to sanei_usb to avoid linking problems. Henning Meier-Geinitz <henning@meier-geinitz.de>DEVEL_2_0_BRANCH-1
rodzic
c5322195ab
commit
a0906efc0b
|
@ -70,4 +70,18 @@ sanei_usb_read_bulk (SANE_Int fd, SANE_Byte * buffer, size_t *size);
|
|||
SANE_Status
|
||||
sanei_usb_write_bulk (SANE_Int fd, SANE_Byte * buffer, size_t *size);
|
||||
|
||||
/* A convenience function to support expanding device name patterns
|
||||
into a list of devices. Apart from a normal device name
|
||||
(such as /dev/usb/scanner0), this function currently supports USB
|
||||
device specifications of the form:
|
||||
|
||||
usb VENDOR PRODUCT
|
||||
|
||||
VENDOR and PRODUCT are non-negative integer numbers in decimal or
|
||||
hexadecimal format. A similar function for SCSI devices can be found
|
||||
in include/sane/config.h.
|
||||
*/
|
||||
extern void
|
||||
sanei_usb_attach_matching_devices (const char *name,
|
||||
SANE_Status (*attach) (const char *dev));
|
||||
#endif /* sanei_usb_h */
|
||||
|
|
Ładowanie…
Reference in New Issue