Previously, `api/service_levels.hh` includes `api/api.hh` for accessing symbols like `api/http_context`. but these symbols are already available in a "smaller" header -- `api/api_init.hh`. so, in order to improve the build efficiency, let's include smaller headers in favor of "larger" ones. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#22178
18 lines
316 B
C++
18 lines
316 B
C++
/*
|
|
* Copyright (C) 2023-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "api/api_init.hh"
|
|
|
|
namespace api {
|
|
|
|
void set_service_levels(http_context& ctx, httpd::routes& r, cql_transport::controller& ctl, sharded<cql3::query_processor>& qp);
|
|
|
|
}
|