Changeset 5a6cc679 in mainline for uspace/lib/c/include/bd_srv.h


Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

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

    r132ab5d1 r5a6cc679  
    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.