summaryrefslogtreecommitdiffstats
path: root/lib/libusb/libusb.h
Commit message (Collapse)AuthorAgeFilesLines
* - Add missing LibUSB API functions:hselasky2010-10-141-0/+4
| | | | | | | | | | | | | * libusb_strerror() * libusb_get_driver[_np]() * libusb_detach_kernel_driver[_np]() - Factor out setting of non-blocking flag inside libusb. - Add missing NULL check after libusb_get_device() call. - Correct some wrong error codes due to copy and paste error. PR: usb/150546 Submitted by: Robert Jenssen, Alexander Leidinger Approved by: thompsa (mentor)
* LibUSB (new API):hselasky2010-10-141-0/+1
| | | | | | | | - Add a new API function to check the connected status of the USB handle in the LibUSB v1.0 and LibUSB v0.1 interfaces. Approved by: thompsa (mentor)
* Fix header file compliancy with libusb 1.0 from sourceforge.thompsa2010-05-131-2/+2
| | | | | Reported by: Xiaofan Chen Submitted by: Hans Petter Selasky
* Resort includes to match style(9) a bit more. No functional changewkoszek2010-02-131-2/+0
| | | | | | | is expected after this commit. Tested by: make buildworld Reviewed by: hps (patch without .h changes)
* Remove redundand headers and use more standard ones where necessary.wkoszek2010-02-111-5/+0
| | | | Reviewed by: hps@
* - fix refcounting error during data transferthompsa2009-11-081-10/+27
| | | | | | | | | | | | | - fix a memory leak on the USB backend - fix invalid pointer computations (in one case memory outside the allocated area was written in LibUSB v1.0) - make sure memory is always initialised, also in failing cases - add missing functions from v1.0.4 PR: usb/140325 Reported by: Robert Jenssen Submitted by: Hans Petter Selasky MFC After: 3 days
* LibUSB v1.0:alfred2009-07-301-97/+25
| | | | | | | | | - Significantly improve libusb10 support. - Many minor issues fixed. - P4 ID: 166189, 165853, 165991, 166052, 166069 Submitted by: hps Approved by: re
* Sync the libusb 1.0 exported api to the latest GSoC code.thompsa2009-07-101-18/+40
| | | | | | | | | | - Fix possible uninitialised variables and null derefs - Support big transfers - Various bug fixes and style changes Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Approved by: re (kib)
* Add files missed in r194674.thompsa2009-06-231-0/+427
| | | | | | | | | | | | | | | Add libusb 1.0 support which is compatible with the latest revision on Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and supersedes the original libusb released 10 years ago, it supports isochronous endpoints and asynchronous I/O. Many applications have already started using the interfaces. This has been developed as part of Google Summer of Code this year by Sylvestre Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0 Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Reviewed by: Hans Petter Selasky
* Follow NetBSD and rename libusb to libusbhid.joe2002-03-271-101/+0
| | | | MFC after: 7 days
* Remove __P() usage.obrien2002-03-211-15/+15
|
* Added used include of <sys/cdefs.h>.bde2001-02-061-0/+4
| | | | Declare all the interfaces documented in usb.3 (2 were missing).
* Sync with NetBSD:n_hibma2000-10-161-2/+3
| | | | | | | | | | K&R -> ANSI Bugfix: 'Keep the bit position even when the report descriptor says POP.' Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page. Changed iface for hid_report_size.
* Sync with NetBSD:n_hibma2000-08-261-2/+2
| | | | | Print unknown usages with 4 digits. Mask in page extraction.
* The USB library from NetBSD by Lennart Augustsson <lennart@augustsson.net>.n_hibma2000-06-111-0/+96
OpenPOWER on IntegriCloud