diff options
author | Peter Stuge <peter@stuge.se> | 2011-09-06 10:45:00 +0000 |
---|---|---|
committer | Vitali Lovich <vlovich@aliph.com> | 2011-09-06 12:15:25 +0100 |
commit | 4504b66235e179276ad0bf30432eae7fd300d578 (patch) | |
tree | edb6f56274f9602e917c2a561890db353f3362da | |
parent | 50ba04d3ece76da1b62a56fdf44a229437a293c7 (diff) | |
download | libusb-4504b66235e179276ad0bf30432eae7fd300d578.tar.gz |
add missing LIBUSB_CLASS codes
-rw-r--r-- | libusb/libusb.h | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h index 9e97b16..a0ffab8 100644 --- a/libusb/libusb.h +++ b/libusb/libusb.h @@ -155,11 +155,15 @@ enum libusb_class_code { /** Human Interface Device class */ LIBUSB_CLASS_HID = 3, - /** Printer dclass */ + /** Physical */ + LIBUSB_CLASS_PHYSICAL = 5, + + /** Printer class */ LIBUSB_CLASS_PRINTER = 7, - /** Picture transfer protocol class */ - LIBUSB_CLASS_PTP = 6, + /** Image class */ + LIBUSB_CLASS_PTP = 6, /* legacy name from libusb-0.1 usb.h */ + LIBUSB_CLASS_IMAGE = 6, /** Mass storage class */ LIBUSB_CLASS_MASS_STORAGE = 8, @@ -170,6 +174,21 @@ enum libusb_class_code { /** Data class */ LIBUSB_CLASS_DATA = 10, + /** Smart Card */ + LIBUSB_CLASS_SMART_CARD = 0x0b, + + /** Content Security */ + LIBUSB_CLASS_CONTENT_SECURITY = 0x0d, + + /** Video */ + LIBUSB_CLASS_VIDEO = 0x0e, + + /** Personal Healthcare */ + LIBUSB_CLASS_PERSONAL_HEALTHCARE = 0x0f, + + /** Diagnostic Device */ + LIBUSB_CLASS_DIAGNOSTIC_DEVICE = 0xdc, + /** Wireless class */ LIBUSB_CLASS_WIRELESS = 0xe0, @@ -1371,4 +1390,4 @@ void LIBUSB_CALL libusb_set_pollfd_notifiers(libusb_context *ctx, } #endif -#endif +#endif
\ No newline at end of file |