summaryrefslogtreecommitdiff
path: root/libusb/descriptor.c
Commit message (Collapse)AuthorAgeFilesLines
* r131: fixed various /W4 warnings for MSVC (core files)r131Pete Batard2010-02-011-1/+1
|
* r123: reverted the use of usb_interface in core and forced interface to be ↵Pete Batard2010-01-291-5/+5
| | | | undefined always on Windows
* r85: fixed MSVC warnings for x64 and reverted ssize_t to int for ↵Pete Batard2010-01-161-1/+1
| | | | libusb_get_device_list change introduced with r52. Added definition on ssize_t in libusb.h for MSVC platforms.
* r80: workaround for interface macro redefinition on Windows (removes the ↵Pete Batard2010-01-151-23/+23
| | | | need for #undef interface in end user sources)
* fixed MSVC warnings (/W4 or MSVC6)Pete Batard2010-01-141-3/+4
|
* svn r29:Pete Batard2010-01-141-5/+0
| | | | | - "poll we can believe in" (requires superficial modifications to core files) - move the "interface" fix into windows_compat.h
* svn r4: revert back to using interface for variable names as in master branchPete Batard2010-01-141-23/+28
|
* mirror libusb-winusb git branch from 2009.12.03 part 2 - core filesPete Batard2010-01-141-23/+23
|
* Linux: fix config descriptor parsing on big-endian systemsDaniel Drake2009-06-101-0/+1
| | | | | | | Multi-byte fields in the configuration descriptors that come back from usbfs are always in bus endian format. Thanks to Joe Jezak for help investigating and fixing this.
* Fix memory leak in config descriptor parsingDaniel Drake2009-05-261-0/+2
| | | | Pointed out by Martin Koegler.
* Fix endianness in device descriptorsDaniel Drake2009-02-161-5/+5
| | | | Pointed out by Nathan Hjelm.
* Fix double free in descriptor parsing error pathDaniel Drake2008-12-091-0/+1
| | | | Pointed out by Shannon Chuang.
* Introduce contexts to the APIDaniel Drake2008-06-261-22/+28
| | | | | Suggested by David Zeuthen. This allows multiple libraries in the same process to independently use libusb without interfering.
* Fix endianness with descriptor handlingDaniel Drake2008-05-161-43/+51
| | | | | Alan Stern pointed out that usbfs gives host-endian data, but sysfs gives bus-endian.
* Support unconfigured devicesDaniel Drake2008-05-101-44/+59
|
* Linux: fix caching of active configuration for non-sysfsDaniel Drake2008-05-101-18/+30
|
* Fetch configurations by index (not value)Daniel Drake2008-05-101-9/+56
| | | | Otherwise there is no way to know which values to look for.
* Rework configuration handlingDaniel Drake2008-05-091-17/+136
| | | | | | libusb no longer caches descriptors in libusb_device but backends are intended to be able to provide copies from memory. In the common linux case we can use sysfs.
* Documentation workDaniel Drake2008-05-081-0/+3
| | | | Partially based on some libusb-devel discussions
* documentation touchupsDaniel Drake2008-05-051-8/+8
|
* more error code sanitizationDaniel Drake2008-05-051-11/+11
|
* Descriptor reading functionalityDaniel Drake2008-05-041-0/+57
|
* Use typedef ptr types in parameters and return typesDaniel Drake2008-05-021-2/+2
| | | | This is passed through to the docs
* Fix descriptor handling memory leaksDaniel Drake2008-04-291-37/+94
|
* Constify some return dataDaniel Drake2008-04-011-21/+32
| | | | Make it clear that apps should not mess with these structures
* API documentationDaniel Drake2008-03-201-0/+27
| | | | | Hopefully mostly complete. Some constants were renamed and move into enums.
* Remove more fpusb remnantsDaniel Drake2008-01-051-10/+10
|
* API renaming: remove fpi and usb_ stuffDaniel Drake2008-01-041-37/+37
| | | | | | | | fpi changed to usbi. We should not expose structures with prefix "usb_" in the public namespace as it is quite likely there will be some conflict somewhere. Instead, using "libusb_" should be safer.
* Rename to libusb-1.0Daniel Drake2008-01-041-0/+353
I've taken over the libusb project, and what was previously known as fpusb will eventually be released as libusb-1.0.