Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/bd_srv.h

    r23c8acd9 rb7fd2a0  
    5858
    5959struct bd_ops {
    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 *);
     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 *);
    6868};
    6969
    7070extern void bd_srvs_init(bd_srvs_t *);
    7171
    72 extern int bd_conn(ipc_callid_t, ipc_call_t *, bd_srvs_t *);
     72extern errno_t bd_conn(ipc_callid_t, ipc_call_t *, bd_srvs_t *);
    7373
    7474#endif
Note: See TracChangeset for help on using the changeset viewer.