Signed-off-by: Sage Weil <sage@redhat.com>
CephContext::~CephContext()
{}
+uint32_t CephContext::get_module_type() const
+{
+ return module_type;
+}
+
CryptoRandom* CephContext::random() const
{
return _crypto_random.get();
{}
~CephContext();
+ uint32_t get_module_type() const;
CryptoRandom* random() const;
PerfCountersCollectionImpl* get_perfcounters_collection();
ceph::common::ConfigProxy& _conf;
private:
std::unique_ptr<CryptoRandom> _crypto_random;
unsigned nref;
+#warning fixme need to set module_type for seastar
+ int module_type;
};
#else
/* A CephContext represents the context held by a single library user.