24 lines
455 B
C++
24 lines
455 B
C++
/*
|
|
* Copyright (C) 2015-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
#include <seastar/core/sharded.hh>
|
|
|
|
namespace seastar::httpd {
|
|
class routes;
|
|
}
|
|
|
|
class compaction_manager;
|
|
|
|
namespace api {
|
|
struct http_context;
|
|
void set_compaction_manager(http_context& ctx, seastar::httpd::routes& r, seastar::sharded<compaction_manager>& cm);
|
|
void unset_compaction_manager(http_context& ctx, seastar::httpd::routes& r);
|
|
|
|
}
|