-extern "C" XBT_PUBLIC int _sg_do_model_check;
-extern XBT_PUBLIC simgrid::config::Flag<std::string> _sg_mc_record_path;
+namespace simgrid::mc {
+XBT_DECLARE_ENUM_CLASS(ReductionMode, none, dpor, sdpor, odpor);
+XBT_DECLARE_ENUM_CLASS(ModelCheckingMode, NONE, APP_SIDE, CHECKER_SIDE, REPLAY);
+ReductionMode get_model_checking_reduction(); // "model-check/reduction" == "DPOR"
+XBT_PUBLIC ModelCheckingMode get_model_checking_mode();
+XBT_PUBLIC void set_model_checking_mode(ModelCheckingMode mode);
+}; // namespace simgrid::mc
+
+extern XBT_PUBLIC simgrid::config::Flag<std::string> _sg_mc_buffering;