Changeset ad7a6c9 in mainline for uspace/lib/drv/include/ops/char_dev.h
- Timestamp:
- 2011-03-30T13:10:24Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4ae90f9
- Parents:
- 6e50466 (diff), d6b81941 (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
r6e50466 rad7a6c9 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 "../ddf/driver.h" 39 39 40 typedef struct char_iface{41 int (*read)(d evice_t *, char *, size_t);42 int (*write)(d evice_t *, char *, size_t);43 } char_ iface_t;40 typedef struct { 41 int (*read)(ddf_fun_t *, char *, size_t); 42 int (*write)(ddf_fun_t *, char *, size_t); 43 } char_dev_ops_t; 44 44 45 45 #endif
Note:
See TracChangeset
for help on using the changeset viewer.