// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab ft=cpp
-#ifndef RGW_LIB_FRONTEND_H
-#define RGW_LIB_FRONTEND_H
+#pragma once
#include <boost/container/flat_map.hpp>
using unique_lock = std::unique_lock<std::mutex>;
public:
- RGWLibProcess(CephContext* cct, RGWProcessEnv* pe, int num_threads,
- RGWFrontendConfig* _conf) :
- RGWProcess(cct, pe, num_threads, _conf), gen(0), shutdown(false) {}
+ RGWLibProcess(CephContext* cct, RGWProcessEnv& pe, int num_threads,
+ std::string uri_prefix, RGWFrontendConfig* _conf) :
+ RGWProcess(cct, pe, num_threads, std::move(uri_prefix), _conf),
+ gen(0), shutdown(false) {}
void run() override;
void checkpoint();
}; /* RGWLibFrontend */
} /* namespace rgw */
-
-#endif /* RGW_LIB_FRONTEND_H */