kopia lustrzana https://gitlab.com/sane-project/backends
Fix typo in sanei_usb.h.
rodzic
5be6af9c72
commit
c394bbb726
|
@ -1,3 +1,6 @@
|
|||
2008-03-15 Julien Blache <jb@jblache.org>
|
||||
* include/sane/sanei_usb.h: typo fix.
|
||||
|
||||
2008-03-02 Stéphane Voltz <stef.dev@free.fr>
|
||||
* doc/descriptions/lexmark.desc: added X1195
|
||||
* doc/descriptions/unsupported.desc: removed X11xx, X12xx and
|
||||
|
|
|
@ -190,8 +190,8 @@ extern void sanei_usb_init (void);
|
|||
* @param vendor vendor id
|
||||
* @param product product id
|
||||
*
|
||||
*@return
|
||||
* - SANE_STATUS_GOOD - if the ids could be determinded
|
||||
* @return
|
||||
* - SANE_STATUS_GOOD - if the ids could be determined
|
||||
* - SANE_STATUS_UNSUPPORTED - if the OS doesn't support detection of ids
|
||||
*/
|
||||
extern SANE_Status
|
||||
|
@ -241,6 +241,20 @@ extern SANE_Status sanei_usb_open (SANE_String_Const devname, SANE_Int * dn);
|
|||
*/
|
||||
extern void sanei_usb_close (SANE_Int dn);
|
||||
|
||||
/** Get the filename associated with a USB device.
|
||||
*
|
||||
* The full filename is stored into a malloc()ed string in devpath that
|
||||
* the caller must free() after use.
|
||||
*
|
||||
* @param dn device number
|
||||
* @param devpath string pointer
|
||||
*
|
||||
* @return
|
||||
* - SANE_STATUS_GOOD - on success
|
||||
* - SANE_STATUS_INVAL - on error
|
||||
*/
|
||||
extern SANE_Status sanei_usb_get_device_path (SANE_Int dn, SANE_String * devpath);
|
||||
|
||||
/** Set the libusb timeout for bulk and interrupt reads.
|
||||
*
|
||||
* @param timeout the new timeout in ms
|
||||
|
|
Ładowanie…
Reference in New Issue