mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 07:38:28 +00:00
os: don't hide tx_cap from block-session interface
The 'tx_cap' RPC function is only used at session-creation time. For this reason, it was not listed in the "official" RPC interface in 'block_session.h'. However, this makes the interface more obscure than it needs to be. So this patch promotes it to a regular RPC function. Issue #3092
This commit is contained in:
@ -57,7 +57,7 @@ class Block::Session_rpc_object : public Genode::Rpc_object<Session, Session_rpc
|
||||
* This method is called by the client via an RPC call at session
|
||||
* construction time.
|
||||
*/
|
||||
Genode::Capability<Tx> _tx_cap() { return _tx.cap(); }
|
||||
Genode::Capability<Tx> tx_cap() override { return _tx.cap(); }
|
||||
|
||||
Tx::Sink *tx_sink() { return _tx.sink(); }
|
||||
};
|
||||
|
Reference in New Issue
Block a user