commit | 1f22d799b4602b7b51424d7c28a7ffbfd4de8362 | [log] [tgz] |
---|---|---|
author | Vianney le Clément de Saint-Marcq <code@quartic.eu> | Tue Dec 13 15:32:39 2016 +0100 |
committer | Nathan Hjelm <hjelmn@me.com> | Tue Jan 08 18:20:17 2019 -0700 |
tree | 82670f391fe756b3ac3cd673a18ed62634c6a08a | |
parent | 8924661f47f55c1443f2d893fa9a2a242322e294 [diff] |
linux_usbfs: Extract device handle initialization from op_open() Slightly refactor op_open() to extract the device handle initialization code into a new initialize_handle() function, similar to the initialize_device() function. Signed-off-by: Vianney le Clément de Saint-Marcq <code@quartic.eu> Signed-off-by: Nathan Hjelm <hjelmn@me.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)