![]() |
|
|||
File indexing completed on 2025-07-05 08:39:57
0001 // 0002 // Copyright (c) 2019-2024 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) 0003 // 0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying 0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0006 // 0007 0008 #ifndef BOOST_MYSQL_DEFAULTS_HPP 0009 #define BOOST_MYSQL_DEFAULTS_HPP 0010 0011 #include <boost/config.hpp> 0012 0013 #include <cstddef> 0014 0015 namespace boost { 0016 namespace mysql { 0017 0018 /// The default TCP port for the MySQL protocol. 0019 BOOST_INLINE_CONSTEXPR unsigned short default_port = 3306; 0020 0021 /// The default TCP port for the MySQL protocol, as a string. Useful for hostname resolution. 0022 BOOST_INLINE_CONSTEXPR const char* default_port_string = "3306"; 0023 0024 /// The default initial size of the connection's internal buffer, in bytes. 0025 BOOST_INLINE_CONSTEXPR std::size_t default_initial_read_buffer_size = 1024; 0026 0027 } // namespace mysql 0028 } // namespace boost 0029 0030 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |