1 // Copyright (c) 2021-present The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 5 #ifndef BITCOIN_IPC_CAPNP_CONTEXT_H
6 #define BITCOIN_IPC_CAPNP_CONTEXT_H
7 8 #include <ipc/context.h>
9 10 namespace ipc {
11 namespace capnp {
12 //! Cap'n Proto context struct. Generally the parent ipc::Context struct should
13 //! be used instead of this struct to give all IPC protocols access to
14 //! application state, so there aren't unnecessary differences between IPC
15 //! protocols. But this specialized struct can be used to pass capnp-specific
16 //! function and object types to capnp hooks.
17 struct Context : ipc::Context
18 {
19 };
20 } // namespace capnp
21 } // namespace ipc
22 23 #endif // BITCOIN_IPC_CAPNP_CONTEXT_H
24