Changes in uspace/lib/c/include/bd_srv.h [135486d:dd8b6a8] in mainline
- File:
-
- 1 edited
-
uspace/lib/c/include/bd_srv.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/bd_srv.h
r135486d rdd8b6a8 39 39 #include <async.h> 40 40 #include <fibril_synch.h> 41 #include < bool.h>41 #include <stdbool.h> 42 42 #include <sys/types.h> 43 43 … … 57 57 } bd_srv_t; 58 58 59 typedefstruct bd_ops {59 struct bd_ops { 60 60 int (*open)(bd_srvs_t *, bd_srv_t *); 61 61 int (*close)(bd_srv_t *); 62 62 int (*read_blocks)(bd_srv_t *, aoff64_t, size_t, void *, size_t); 63 63 int (*read_toc)(bd_srv_t *, uint8_t, void *, size_t); 64 int (*sync_cache)(bd_srv_t *, aoff64_t, size_t); 64 65 int (*write_blocks)(bd_srv_t *, aoff64_t, size_t, const void *, size_t); 65 66 int (*get_block_size)(bd_srv_t *, size_t *); 66 67 int (*get_num_blocks)(bd_srv_t *, aoff64_t *); 67 } bd_ops_t;68 }; 68 69 69 70 extern void bd_srvs_init(bd_srvs_t *);
Note:
See TracChangeset
for help on using the changeset viewer.
