Attachments you submit will be routed for moderation. If you have an account, please
log in first.
Ticket #35: 0001-Add-more-interface-classes.patch
| File 0001-Add-more-interface-classes.patch,
718 bytes
(added by hadess, 2 years ago) |
|
patch
|
-
From 03509f857f4222f74142d7a73ccd280dfcfd5bab Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Mon, 8 Mar 2010 10:50:51 +0000
Subject: [PATCH] Add more interface classes
As used in bluez.
---
libusb/libusb.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/libusb/libusb.h b/libusb/libusb.h
index 2dbb9a5..483d76a 100644
|
a
|
b
|
enum libusb_class_code { |
| 95 | 95 | /** Data class */ |
| 96 | 96 | LIBUSB_CLASS_DATA = 10, |
| 97 | 97 | |
| | 98 | /** Wireless class */ |
| | 99 | LIBUSB_CLASS_WIRELESS = 0xe0, |
| | 100 | |
| | 101 | /** Application class */ |
| | 102 | LIBUSB_CLASS_APPLICATION = 0xfe, |
| | 103 | |
| 98 | 104 | /** Class is vendor-specific */ |
| 99 | 105 | LIBUSB_CLASS_VENDOR_SPEC = 0xff |
| 100 | 106 | }; |
Download in other formats: