Changeset ca07cd3 in mainline for uspace/lib/usbvirt/hub.h
- Timestamp:
- 2010-10-25T13:23:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 23cb44b
- Parents:
- 355f7c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/hub.h
r355f7c2 rca07cd3 38 38 #include "device.h" 39 39 40 /** USB transaction type. 41 * This types does not correspond directly to types in USB specification, 42 * as actually DATA transactions are marked with these types to identify 43 * their direction (and tag). 44 */ 45 typedef enum { 46 USBVIRT_TRANSACTION_SETUP, 47 USBVIRT_TRANSACTION_IN, 48 USBVIRT_TRANSACTION_OUT 49 } usbvirt_transaction_type_t; 40 50 51 const char *usbvirt_str_transaction_type(usbvirt_transaction_type_t type); 52 53 /** Telephony methods of virtual devices. */ 41 54 typedef enum { 42 IPC_M_USBVIRT_DATA_TO_DEVICE = IPC_FIRST_USER_METHOD, 43 IPC_M_USBVIRT_DATA_FROM_DEVICE, 55 IPC_M_USBVIRT_GET_NAME = IPC_FIRST_USER_METHOD, 44 56 IPC_M_USBVIRT_TRANSACTION_SETUP, 45 57 IPC_M_USBVIRT_TRANSACTION_OUT, … … 48 60 49 61 int usbvirt_connect(usbvirt_device_t *, const char *); 50 int usbvirt_disconnect(void);51 62 int usbvirt_connect_local(usbvirt_device_t *); 63 int usbvirt_disconnect(usbvirt_device_t *dev); 52 64 53 65 #endif
Note:
See TracChangeset
for help on using the changeset viewer.