Changeset cf2af94 in mainline for uspace/lib/drv/include/ops/char_dev.h
- Timestamp:
- 2011-02-09T11:46:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cb15135a
- Parents:
- a49c4002 (diff), 0b37882 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ops/char_dev.h
ra49c4002 rcf2af94 33 33 */ 34 34 35 #ifndef LIBDRV_ CHAR_H_36 #define LIBDRV_ CHAR_H_35 #ifndef LIBDRV_OPS_CHAR_DEV_H_ 36 #define LIBDRV_OPS_CHAR_DEV_H_ 37 37 38 #include " driver.h"38 #include "../driver.h" 39 39 40 typedef struct char_iface{40 typedef struct { 41 41 int (*read)(device_t *, char *, size_t); 42 42 int (*write)(device_t *, char *, size_t); 43 } char_ iface_t;43 } char_dev_ops_t; 44 44 45 45 #endif
Note:
See TracChangeset
for help on using the changeset viewer.