1317 Commits

Author SHA1 Message Date
Daniel Drake e3ce855ace Fix dpfp example compilation 2008-01-26 17:26:40 +00:00
Daniel Drake 1d41a5cda2 C++ header safety
Pointed out by JF
2008-01-26 17:22:53 +00:00
Daniel Drake 37b7f9a112 Only use -fgnu89-inline when supported
J F pointed out that this option only works on gcc 4.3 and newer.
2008-01-26 14:03:43 +00:00
Daniel Drake e3a09ca0b9 Remove more fpusb remnants 2008-01-05 21:59:40 +00:00
Daniel Drake dcd5e0075f TODO update
Start listing the things I want to discuss/reconsider before 1.0 API
is final.
2008-01-04 01:20:29 +00:00
Daniel Drake de53d972ed Rename some _devh_ functions
Decided against naming functions in this style based on advice from
Tim Roberts. Still not really sure about devh naming in general.
2008-01-04 01:17:06 +00:00
Daniel Drake 132d84bf8a Use "transfer" instead of "msg"
Based on a discussion with Tim Roberts.
2008-01-04 01:13:25 +00:00
Daniel Drake ea6af58a86 Plural of bus is busses
SF #1633043
2008-01-04 00:57:00 +00:00
Daniel Drake dbb3fd871e API renaming: remove fpi and usb_ stuff
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.
2008-01-04 00:54:57 +00:00
Daniel Drake e9364d7215 Rename to libusb-1.0
I've taken over the libusb project, and what was previously known as fpusb
will eventually be released as libusb-1.0.
2008-01-04 00:40:49 +00:00
Daniel Drake f4ed0b6a3e Compiler flags update
Also fix some warnings
2007-12-30 22:09:50 +00:00
Daniel Drake d3d671efe2 Fix signalfd structure size on x86
ptr is a 64-bit value
2007-12-30 22:05:17 +00:00
Daniel Drake dfac6756fa Don't pass ctrl_msg/bulk_msg structures through async paths
These are easiest to construct on the stack, but in the async case it is
likely that the submitting function returns (hence stack is destroyed)
before URB completion.
2007-12-12 23:32:54 +00:00
Daniel Drake a8d2881eb7 Add functionality to access device descriptors 2007-12-03 23:29:22 +00:00
Daniel Drake b5a7a41108 Rename fpusb_device_handle functions to devh
Prevents confusion with functions that work on fpusb_dev structures.
2007-12-03 22:27:21 +00:00
Daniel Drake eacf4505a4 Add API to access poll fd
Almost forgot... :)
2007-12-02 23:16:57 +00:00
Daniel Drake 852bba4754 Initial commit
Basic library structure which supports enumerating detected USB devices
2007-12-02 22:54:59 +00:00