usbvirt_control_request_handler_t Struct Reference
[USB virtualization library]

Callback for control request on a virtual USB device. More...

#include <device.h>


Data Fields

usbvirt_on_control_t callback
 Callback to be executed on matching request.
const char * name
 Request handler name for debugging purposes.
usb_direction_t req_direction
 Request direction (in or out).
usb_request_recipient_t req_recipient
 Request recipient (device, interface or endpoint).
usb_request_type_t req_type
 Request type (standard, class or vendor).
uint8_t request
 Actual request code.


Detailed Description

Callback for control request on a virtual USB device.

See usbvirt_control_reply_helper() for simple way of answering control read requests.

Definition at line 93 of file device.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:46:01 2011 for HelenOS/USB by  doxygen 1.4.7