// // Copyright (c) 2019-2024 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_MYSQL_DETAIL_CONNECTION_POOL_FWD_HPP #define BOOST_MYSQL_DETAIL_CONNECTION_POOL_FWD_HPP #include #include namespace boost { namespace mysql { class pooled_connection; class any_connection; namespace detail { struct io_traits; template class basic_connection_node; template class basic_pool_impl; using connection_node = basic_connection_node; using pool_impl = basic_pool_impl; BOOST_MYSQL_DECL void return_connection( std::shared_ptr pool, connection_node& node, bool should_reset ) noexcept; BOOST_MYSQL_DECL any_connection& get_connection(connection_node& node) noexcept; } // namespace detail } // namespace mysql } // namespace boost #endif