Changeset 5a6cc679 in mainline for uspace/lib/usbdev/include/usb/dev/driver.h
- Timestamp:
- 2018-01-31T02:21:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/driver.h
r132ab5d1 r5a6cc679 43 43 typedef struct { 44 44 /** Callback when a new device was added to the system. */ 45 int (*device_add)(usb_device_t *);45 errno_t (*device_add)(usb_device_t *); 46 46 /** Callback when a device is about to be removed from the system. */ 47 int (*device_remove)(usb_device_t *);47 errno_t (*device_remove)(usb_device_t *); 48 48 /** Callback when a device was removed from the system. */ 49 int (*device_gone)(usb_device_t *);49 errno_t (*device_gone)(usb_device_t *); 50 50 /** Callback asking the driver to online a specific function. */ 51 int (*function_online)(ddf_fun_t *);51 errno_t (*function_online)(ddf_fun_t *); 52 52 /** Callback asking the driver to offline a specific function. */ 53 int (*function_offline)(ddf_fun_t *);53 errno_t (*function_offline)(ddf_fun_t *); 54 54 } usb_driver_ops_t; 55 55
Note:
See TracChangeset
for help on using the changeset viewer.