I think not. The call to sane_open requires a string name, which may not be derived from the libusb name for some backends.
allan On Fri, Mar 21, 2014 at 7:50 AM, Sven Harmstorf <svh79 at gmx.net> wrote: > Hi all, > > My current application is using libusb and therefore I have libusb_device > structs. > Is it possible to get a SANE_Device by using those libusb structs (or vice > versa)? > > I looked at the sanei_usb functions, but I have not found an option to get a > SANE_Device. > > Any help is appreciated! > > Kind regards, > Sven > > (using sane-backends 1.0.24) > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request at lists.alioth.debian.org -- "The truth is an offense, but not a sin"
