Changeset 50c57df in mainline for uspace/lib/drv/include/char_dev.h
- Timestamp:
- 2011-01-09T17:40:10Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41b56084
- Parents:
- 36a6e11
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/char_dev.h
r36a6e11 r50c57df 33 33 */ 34 34 35 #ifndef LIBDRV_CHAR_ H_36 #define LIBDRV_CHAR_ H_35 #ifndef LIBDRV_CHAR_DEV_H_ 36 #define LIBDRV_CHAR_DEV_H_ 37 37 38 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.