Files
scylladb/api/task_manager_test.hh
Avi Kivity 0ae22a09d4 LICENSE: Update to version 1.1
Updated terms of non-commercial use (must be a never-customer).
2026-04-12 19:46:33 +03:00

31 lines
535 B
C++

/*
* Copyright (C) 2022-present ScyllaDB
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
*/
#ifndef SCYLLA_BUILD_MODE_RELEASE
#pragma once
#include <seastar/core/sharded.hh>
namespace tasks {
class task_manager;
}
namespace seastar::httpd {
class routes;
}
namespace api {
struct http_context;
void set_task_manager_test(http_context& ctx, seastar::httpd::routes& r, seastar::sharded<tasks::task_manager>& tm);
void unset_task_manager_test(http_context& ctx, seastar::httpd::routes& r);
}
#endif