They currently stay registered long after the dependent services get stopped. There's a need for batch unsetting (scylladb/seastar#1620), so currently only this explicit listing :( Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
22 lines
342 B
C++
22 lines
342 B
C++
/*
|
|
* Copyright (C) 2015-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace seastar::httpd {
|
|
class routes;
|
|
}
|
|
|
|
namespace api {
|
|
|
|
struct http_context;
|
|
void set_cache_service(http_context& ctx, seastar::httpd::routes& r);
|
|
void unset_cache_service(http_context& ctx, seastar::httpd::routes& r);
|
|
|
|
}
|