/* * Copyright (C) 2022-present ScyllaDB */ /* * SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0 */ #pragma once #include #include "api/api_init.hh" #include "db/config.hh" namespace tasks { class task_manager; } namespace api { void set_task_manager(http_context& ctx, httpd::routes& r, sharded& tm, db::config& cfg, sharded& gossiper); void unset_task_manager(http_context& ctx, httpd::routes& r); }