Changeset 25a7e11d in mainline for uspace/lib/libdrv/include/driver.h
- Timestamp:
- 2010-04-30T14:13:41Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f658458
- Parents:
- dafe675
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libdrv/include/driver.h
rdafe675 r25a7e11d 41 41 #include <ipc/dev_iface.h> 42 42 #include <device/hw_res.h> 43 #include <device/char.h> 43 44 #include <assert.h> 44 45 #include <ddi.h> … … 81 82 /** Unique identification of the class. */ 82 83 int id; 84 /** Optional callback function called when a client is connecting to the device. */ 85 int (*open)(device_t *dev); 86 /** Optional callback function called when a client is disconnecting from the device. */ 87 void (*close)(device_t *dev); 83 88 /** The table of interfaces implemented by the device. */ 84 89 void *interfaces[DEV_IFACE_COUNT];
Note:
See TracChangeset
for help on using the changeset viewer.