Add packed definitions for some standard USB descriptor types
authorChris Dickens <christopher.a.dickens@gmail.com>
Fri, 17 Apr 2020 18:31:55 +0000 (11:31 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Fri, 17 Apr 2020 18:31:55 +0000 (11:31 -0700)
commit02ebafc85d3f219842cbabaf78abc8100b6656e5
tree3113cda1ef5f2f7dcd8f281c75fc8c7e3296f79b
parentda87201f7a5580db16565b1ecc7eefe0fcb5bb59
Add packed definitions for some standard USB descriptor types

These are going to be used in future commits to cleanup some code. Note
that these are prefixed as 'usbi' rather than 'usb' to avoid conflicts
with definitions provided by some system headers.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/descriptor.c
libusb/libusbi.h
libusb/os/linux_usbfs.c
libusb/version_nano.h