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
Henning Geinitz 2001-09-05 19:48:32 +00:00
rodzic c5322195ab
commit a0906efc0b
1 zmienionych plików z 14 dodań i 0 usunięć

Wyświetl plik

@ -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 */