]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/ceph_context.h
update sources to v12.1.2
[ceph.git] / ceph / src / common / ceph_context.h
index 64aec93f768e4d39c08db6540a52ede193f2e18a..e024dba70f2ac08f93467acd237affc7007052cf 100644 (file)
@@ -20,6 +20,7 @@
 #include <boost/noncopyable.hpp>
 
 #include "common/cmdparse.h"
+#include "common/code_environment.h"
 #include "crush/CrushLocation.h"
 #include "include/Spinlock.h"
 
@@ -50,7 +51,9 @@ namespace ceph {
  */
 class CephContext {
 public:
-  CephContext(uint32_t module_type_, int init_flags_ = 0);
+  CephContext(uint32_t module_type_,
+              enum code_environment_t code_env=CODE_ENVIRONMENT_UTILITY,
+              int init_flags_ = 0);
 
   // ref count!
 private: