commit | e32f1fd7bff3a483ce25717342a50af24b73a0c1 | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Mon Mar 16 01:15:29 2020 -0700 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Mon Mar 16 01:15:29 2020 -0700 |
tree | 6dc8171a1d5fae1d1a5bb584b098ea051c06a952 | |
parent | 89d574b87976ef58b6c94c26864dcc5330b0c067 [diff] |
core: Make the 'reset_device' function of the backend optional The majority of backends do not have support for resetting a device, so simplify them all by making the function optional and having the core return the appropriate error when the function is not implemented. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.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)