2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-15 01:02:17 +00:00

Renamed includes to match .hpp/.ipp convention

This commit is contained in:
ruben
2020-01-09 15:25:06 +00:00
parent 93547ed184
commit 3814d25d6c
25 changed files with 45 additions and 45 deletions

View File

@@ -48,6 +48,6 @@ public:
}
#include "mysql/impl/connection_impl.hpp"
#include "mysql/impl/connection.ipp"
#endif /* INCLUDE_MYSQL_CONNECTION_HPP_ */

View File

@@ -27,6 +27,6 @@ using error_code = boost::system::error_code;
}
#include "mysql/impl/error_impl.hpp"
#include "mysql/impl/error.hpp"
#endif /* INCLUDE_ERROR_HPP_ */

View File

@@ -28,6 +28,6 @@ inline void compute_auth_string(std::string_view password, const void* challenge
} // detail
} // mysql
#include "mysql/impl/auth_impl.hpp"
#include "mysql/impl/auth.ipp"
#endif /* INCLUDE_AUTH_HPP_ */

View File

@@ -1,5 +1,5 @@
#ifndef INCLUDE_MYSQL_IMPL_AUTH_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_AUTH_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_AUTH_IPP_
#define INCLUDE_MYSQL_IMPL_AUTH_IPP_
#include <openssl/sha.h>
#include <cstring>
@@ -35,4 +35,4 @@ inline void mysql::detail::mysql_native_password::compute_auth_string(
#endif /* INCLUDE_MYSQL_IMPL_AUTH_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_AUTH_IPP_ */

View File

@@ -57,6 +57,6 @@ public:
}
}
#include "mysql/impl/channel_impl.hpp"
#include "mysql/impl/channel.ipp"
#endif /* INCLUDE_MYSQL_STREAM_HPP_ */

View File

@@ -1,5 +1,5 @@
#ifndef INCLUDE_MYSQL_IMPL_CONNECTION_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_CONNECTION_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_CONNECTION_IPP_
#define INCLUDE_MYSQL_IMPL_CONNECTION_IPP_
#include "mysql/impl/handshake.hpp"
#include "mysql/impl/query.hpp"
@@ -82,4 +82,4 @@ mysql::connection<Stream>::async_query(
}
#endif /* INCLUDE_MYSQL_IMPL_CONNECTION_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_CONNECTION_IPP_ */

View File

@@ -1,11 +1,11 @@
#ifndef INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_HPP_
#define INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_HPP_
#include "mysql/impl/serialization.hpp"
#include "mysql/error.hpp"
#include "mysql/value.hpp"
#include "mysql/metadata.hpp"
#include "mysql/value.hpp"
#include "mysql/impl/basic_serialization.hpp"
#include <vector>
namespace mysql
@@ -28,6 +28,6 @@ inline error_code deserialize_text_row(
}
}
#include "mysql/impl/deserialize_row_impl.hpp"
#include "mysql/impl/deserialize_row.ipp"
#endif /* INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_HPP_ */

View File

@@ -1,5 +1,5 @@
#ifndef INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_IPP_
#define INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_IPP_
#include <cstdlib>
#include <cmath>
@@ -237,4 +237,4 @@ mysql::error_code mysql::detail::deserialize_text_row(
#endif /* INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_DESERIALIZE_ROW_IPP_ */

View File

@@ -41,7 +41,7 @@ async_handshake(
}
}
#include "mysql/impl/handshake_impl.hpp"
#include "mysql/impl/handshake.ipp"
#endif /* INCLUDE_MYSQL_IMPL_HANDSHAKE_HPP_ */

View File

@@ -1,13 +1,13 @@
#ifndef INCLUDE_MYSQL_IMPL_HANDSHAKE_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_HANDSHAKE_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_HANDSHAKE_IPP_
#define INCLUDE_MYSQL_IMPL_HANDSHAKE_IPP_
#include "mysql/impl/basic_serialization.hpp"
#include "mysql/impl/capabilities.hpp"
#include "mysql/impl/auth.hpp"
#include "mysql/error.hpp"
#include <boost/asio/coroutine.hpp>
#include <boost/asio/yield.hpp>
#include <boost/beast/core/async_base.hpp>
#include "mysql/impl/serialization.hpp"
namespace mysql
{
@@ -409,4 +409,4 @@ mysql::detail::async_handshake(
#include <boost/asio/unyield.hpp>
#endif /* INCLUDE_MYSQL_IMPL_HANDSHAKE_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_HANDSHAKE_IPP_ */

View File

@@ -1,13 +1,13 @@
#ifndef MESSAGES_H_
#define MESSAGES_H_
#include "mysql/impl/serialization.hpp"
#include <string>
#include <vector>
#include <variant>
#include <tuple>
#include "mysql/impl/basic_types.hpp"
#include "mysql/impl/constants.hpp"
#include "mysql/impl/basic_serialization.hpp"
#include "mysql/collation.hpp"
namespace mysql
@@ -265,7 +265,7 @@ struct StmtClose
} // detail
} // mysql
#include "mysql/impl/messages_impl.hpp"
#include "mysql/impl/messages.ipp"
#endif /* MESSAGES_H_ */

View File

@@ -1,7 +1,7 @@
#ifndef INCLUDE_MYSQL_IMPL_MESSAGES_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_MESSAGES_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_MESSAGES_IPP_
#define INCLUDE_MYSQL_IMPL_MESSAGES_IPP_
#include "mysql/impl/basic_serialization.hpp"
#include "mysql/impl/serialization.hpp"
#include <cassert>
inline mysql::Error mysql::detail::deserialize(
@@ -218,4 +218,4 @@ inline mysql::error_code mysql::detail::process_error_packet(
}
#endif /* INCLUDE_MYSQL_IMPL_MESSAGES_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_MESSAGES_IPP_ */

View File

@@ -1,5 +1,5 @@
#ifndef INCLUDE_MYSQL_IMPL_METADATA_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_METADATA_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_METADATA_HPP_
#define INCLUDE_MYSQL_IMPL_METADATA_HPP_
namespace mysql
{
@@ -76,4 +76,4 @@ inline mysql::field_type mysql::field_metadata::type() const noexcept
return field_type_;
}
#endif /* INCLUDE_MYSQL_IMPL_METADATA_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_METADATA_HPP_ */

View File

@@ -65,6 +65,6 @@ async_fetch_text_row(
}
}
#include "mysql/impl/query_impl.hpp"
#include "mysql/impl/query.ipp"
#endif /* INCLUDE_MYSQL_IMPL_QUERY_HPP_ */

View File

@@ -1,10 +1,10 @@
#ifndef INCLUDE_MYSQL_IMPL_QUERY_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_QUERY_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_QUERY_IPP_
#define INCLUDE_MYSQL_IMPL_QUERY_IPP_
#include "mysql/impl/messages.hpp"
#include "mysql/impl/basic_serialization.hpp"
#include "mysql/impl/deserialize_row.hpp"
#include <boost/asio/yield.hpp>
#include "mysql/impl/serialization.hpp"
namespace mysql
{
@@ -447,4 +447,4 @@ mysql::detail::async_fetch_text_row(
#include <boost/asio/unyield.hpp>
#endif /* INCLUDE_MYSQL_IMPL_QUERY_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_QUERY_IPP_ */

View File

@@ -1,5 +1,5 @@
#ifndef INCLUDE_MYSQL_IMPL_RESULTSET_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_RESULTSET_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_RESULTSET_HPP_
#define INCLUDE_MYSQL_IMPL_RESULTSET_HPP_
#include "mysql/impl/query.hpp"
#include <boost/asio/coroutine.hpp>
@@ -281,4 +281,4 @@ mysql::resultset<StreamType>::async_fetch_all(
#include <boost/asio/unyield.hpp>
#endif /* INCLUDE_MYSQL_IMPL_RESULTSET_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_RESULTSET_HPP_ */

View File

@@ -1,5 +1,5 @@
#ifndef INCLUDE_MYSQL_IMPL_VALUE_IMPL_HPP_
#define INCLUDE_MYSQL_IMPL_VALUE_IMPL_HPP_
#ifndef INCLUDE_MYSQL_IMPL_VALUE_HPP_
#define INCLUDE_MYSQL_IMPL_VALUE_HPP_
#include "mysql/impl/container_equals.hpp"
@@ -89,4 +89,4 @@ inline std::ostream& mysql::operator<<(
}
#endif /* INCLUDE_MYSQL_IMPL_VALUE_IMPL_HPP_ */
#endif /* INCLUDE_MYSQL_IMPL_VALUE_HPP_ */

View File

@@ -60,6 +60,6 @@ public:
} // detail
} // mysql
#include "mysql/impl/metadata_impl.hpp"
#include "mysql/impl/metadata.hpp"
#endif /* INCLUDE_MYSQL_METADATA_HPP_ */

View File

@@ -61,6 +61,6 @@ public:
}
#include "mysql/impl/resultset_impl.hpp"
#include "mysql/impl/resultset.hpp"
#endif /* INCLUDE_MYSQL_RESULTSET_HPP_ */

View File

@@ -41,7 +41,7 @@ inline std::ostream& operator<<(std::ostream& os, const value& value);
}
#include "mysql/impl/value_impl.hpp"
#include "mysql/impl/value.hpp"
#endif /* INCLUDE_MYSQL_VALUE_HPP_ */

View File

@@ -6,8 +6,8 @@
*/
#include "mysql/metadata.hpp"
#include "mysql/impl/basic_serialization.hpp"
#include <gtest/gtest.h>
#include "mysql/impl/serialization.hpp"
using namespace testing;
using namespace mysql;

View File

@@ -1,12 +1,12 @@
#ifndef TEST_SERIALIZATION_TEST_COMMON_HPP_
#define TEST_SERIALIZATION_TEST_COMMON_HPP_
#include "mysql/impl/basic_serialization.hpp"
#include "mysql/impl/messages.hpp"
#include "mysql/impl/constants.hpp"
#include <gtest/gtest.h>
#include <string>
#include <boost/type_index.hpp>
#include "mysql/impl/serialization.hpp"
namespace mysql
{