Changes in uspace/lib/c/include/bd_srv.h [b7fd2a0:23c8acd9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/bd_srv.h
rb7fd2a0 r23c8acd9 58 58 59 59 struct bd_ops { 60 errno_t (*open)(bd_srvs_t *, bd_srv_t *);61 errno_t (*close)(bd_srv_t *);62 errno_t (*read_blocks)(bd_srv_t *, aoff64_t, size_t, void *, size_t);63 errno_t (*read_toc)(bd_srv_t *, uint8_t, void *, size_t);64 errno_t (*sync_cache)(bd_srv_t *, aoff64_t, size_t);65 errno_t (*write_blocks)(bd_srv_t *, aoff64_t, size_t, const void *, size_t);66 errno_t (*get_block_size)(bd_srv_t *, size_t *);67 errno_t (*get_num_blocks)(bd_srv_t *, aoff64_t *);60 int (*open)(bd_srvs_t *, bd_srv_t *); 61 int (*close)(bd_srv_t *); 62 int (*read_blocks)(bd_srv_t *, aoff64_t, size_t, void *, size_t); 63 int (*read_toc)(bd_srv_t *, uint8_t, void *, size_t); 64 int (*sync_cache)(bd_srv_t *, aoff64_t, size_t); 65 int (*write_blocks)(bd_srv_t *, aoff64_t, size_t, const void *, size_t); 66 int (*get_block_size)(bd_srv_t *, size_t *); 67 int (*get_num_blocks)(bd_srv_t *, aoff64_t *); 68 68 }; 69 69 70 70 extern void bd_srvs_init(bd_srvs_t *); 71 71 72 extern errno_t bd_conn(ipc_callid_t, ipc_call_t *, bd_srvs_t *);72 extern int bd_conn(ipc_callid_t, ipc_call_t *, bd_srvs_t *); 73 73 74 74 #endif
Note:
See TracChangeset
for help on using the changeset viewer.