summaryrefslogtreecommitdiff
path: root/libusb/os/haiku_usb_raw.h
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/os/haiku_usb_raw.h')
-rw-r--r--libusb/os/haiku_usb_raw.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libusb/os/haiku_usb_raw.h b/libusb/os/haiku_usb_raw.h
index 5baf53d..d371f01 100644
--- a/libusb/os/haiku_usb_raw.h
+++ b/libusb/os/haiku_usb_raw.h
@@ -25,6 +25,7 @@ typedef enum {
B_USB_RAW_COMMAND_GET_INTERFACE_DESCRIPTOR_ETC,
B_USB_RAW_COMMAND_GET_ENDPOINT_DESCRIPTOR_ETC,
B_USB_RAW_COMMAND_GET_GENERIC_DESCRIPTOR_ETC,
+ B_USB_RAW_COMMAND_GET_CONFIGURATION_DESCRIPTOR_ETC,
B_USB_RAW_COMMAND_SET_CONFIGURATION = 0x3000,
B_USB_RAW_COMMAND_SET_FEATURE,
@@ -76,6 +77,13 @@ typedef union {
struct {
status_t status;
+ usb_configuration_descriptor *descriptor;
+ uint32 config_index;
+ size_t length;
+ } config_etc;
+
+ struct {
+ status_t status;
uint32 alternate_info;
uint32 config_index;
uint32 interface_index;