X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/795992adafc1a2fdfb06b91c957dc3759e0a6c39..90831fba7fee7a631fdf946c04f71a53ece117e7:/usb-driver.h diff --git a/usb-driver.h b/usb-driver.h index f911a8f..7a8e1ee 100644 --- a/usb-driver.h +++ b/usb-driver.h @@ -353,10 +353,15 @@ struct usb_device_info { WDU_INTERFACE *pActiveInterface[WD_USB_MAX_INTERFACES]; }; -struct usb_device_info_get { - WDU_DEVICE_DESCRIPTOR Descriptor; - WDU_PIPE_INFO Pipe0; - unsigned char dummy[128]; - WDU_CONFIGURATION cfg; - -}; +typedef enum { + WDU_DIR_IN = 1, + WDU_DIR_OUT = 2, + WDU_DIR_IN_OUT = 3 +} WDU_DIR; + +typedef enum { + PIPE_TYPE_CONTROL = 0, + PIPE_TYPE_ISOCHRONOUS = 1, + PIPE_TYPE_BULK = 2, + PIPE_TYPE_INTERRUPT = 3 +} USB_PIPE_TYPE;