summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_core.h')
-rw-r--r--sys/dev/usb/usb_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_core.h b/sys/dev/usb/usb_core.h
index cb08476..e44a7d6 100644
--- a/sys/dev/usb/usb_core.h
+++ b/sys/dev/usb/usb_core.h
@@ -266,6 +266,7 @@
struct file;
struct usb2_bus;
struct usb2_device;
+struct usb2_device_request;
struct usb2_page;
struct usb2_page_cache;
struct usb2_xfer;
@@ -303,6 +304,9 @@ typedef uint32_t usb2_ticks_t; /* system defined */
typedef uint16_t usb2_power_mask_t; /* see "USB_HW_POWER_XXX" */
#endif
+typedef usb2_error_t (usb2_handle_request_t)(struct usb2_device *,
+ struct usb2_device_request *, const void **, uint16_t *);
+
/* structures */
/*
OpenPOWER on IntegriCloud