summaryrefslogtreecommitdiffstats
path: root/src/common/ceph_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/ceph_context.h')
-rw-r--r--src/common/ceph_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/ceph_context.h b/src/common/ceph_context.h
index 25f52615b06..dee5157ceee 100644
--- a/src/common/ceph_context.h
+++ b/src/common/ceph_context.h
@@ -83,6 +83,9 @@ public:
// everything crimson is experimental...
return true;
}
+ ceph::PluginRegistry* get_plugin_registry() {
+ return _plugin_registry;
+ }
CryptoRandom* random() const;
PerfCountersCollectionImpl* get_perfcounters_collection();
crimson::common::ConfigProxy& _conf;
@@ -92,6 +95,7 @@ public:
private:
std::unique_ptr<CryptoRandom> _crypto_random;
unsigned nref;
+ ceph::PluginRegistry* _plugin_registry;
};
}
#else