aboutsummaryrefslogtreecommitdiff
path: root/src/ipc/interfaces.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-12-05 15:57:12 -0500
committerRussell Yanofsky <russ@yanofsky.org>2021-06-10 09:58:45 -0500
commit3e33d170cc0a8f386791777f3cc597e2bd0bf2ee (patch)
tree88d34d1b4d5e2fd12e011be49b0aa9651eac224f /src/ipc/interfaces.cpp
parent1704bbf2263f16c720604cfab4ccb775315df690 (diff)
downloadbitcoin-3e33d170cc0a8f386791777f3cc597e2bd0bf2ee.tar.xz
Add ipc::Context and ipc::capnp::Context structs
These are currently empty structs but they will be used to pass some function and object pointers from bitcoin application code to IPC hooks that run, for example, when a remote object is created or destroyed, or a new process is created.
Diffstat (limited to 'src/ipc/interfaces.cpp')
-rw-r--r--src/ipc/interfaces.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipc/interfaces.cpp b/src/ipc/interfaces.cpp
index ad4b78ed81..580590fde9 100644
--- a/src/ipc/interfaces.cpp
+++ b/src/ipc/interfaces.cpp
@@ -60,6 +60,7 @@ public:
{
m_protocol->addCleanup(type, iface, std::move(cleanup));
}
+ Context& context() override { return m_protocol->context(); }
const char* m_exe_name;
const char* m_process_argv0;
interfaces::Init& m_init;