aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/usb.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326219
* - Make the FreeBSD's USB library compile under Linux.Hans Petter Selasky2013-03-131-2/+3
| | | | | | | | | | - Fix a compile warning where the return value of a call to a write() function was ignored. - Remove redundant include files from userland USB header files. - Add some now needed include files to various C-files. Notes: svn path=/head/; revision=248236
* - Add two missing functions to the LibUSB v0.1 API.Hans Petter Selasky2011-07-161-0/+2
| | | | | | | | | | | | - Clamp the string length to 255 bytes when getting the interface description. - Clamp data request length to 65535 bytes when doing control requests. MFC after: 3 days Notes: svn path=/head/; revision=224085
* LibUSB (new API):Hans Petter Selasky2010-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) Notes: svn path=/head/; revision=213848
* Resort includes to match style(9) a bit more. No functional changeWojciech A. Koszek2010-02-131-2/+3
| | | | | | | | | | is expected after this commit. Tested by: make buildworld Reviewed by: hps (patch without .h changes) Notes: svn path=/head/; revision=203815
* Remove redundand headers and use more standard ones where necessary.Wojciech A. Koszek2010-02-111-2/+1
| | | | | | | Reviewed by: hps@ Notes: svn path=/head/; revision=203775
* libusb20 is now installed as libusb, remove the version number from theAndrew Thompson2009-03-091-0/+310
directory name. Notes: svn path=/head/; revision=189587