diff --git a/.appveyor.yml b/.appveyor.yml index b7826a2e..a14c10bf 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020 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) +# + image: Visual Studio 2019 configuration: - Debug diff --git a/.travis.yml b/.travis.yml index 144e2c7c..468b526a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020 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) +# + __linux_addons_defaults: &__linux_addons_defaults apt: update: true diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a326421..f2b796bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020 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) +# + cmake_minimum_required(VERSION 3.13.0) # Determined by requiring Boost 1.70 project(mysql-asio) diff --git a/LICENSE.txt b/LICENSE_1_0.txt similarity index 100% rename from LICENSE.txt rename to LICENSE_1_0.txt diff --git a/TODO.txt b/TODO.txt index 08411d67..6167b4ce 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,4 @@ Sanitize - Include guards and copyrights - License/License_1_0 Tabs to spaces Bad serialize(value.value) somewhere Copy operations for handshake diff --git a/ci/build_unix.sh b/ci/build_unix.sh index 363f0298..d0a134c1 100644 --- a/ci/build_unix.sh +++ b/ci/build_unix.sh @@ -1,4 +1,11 @@ #!/bin/bash +# +# Copyright (c) 2019-2020 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) +# + # SHA256 functionality is only supported in MySQL 8+. From our # CI systems, only OSX has this version. diff --git a/ci/root_user_setup.sql b/ci/root_user_setup.sql index 937a1f65..0a686430 100644 --- a/ci/root_user_setup.sql +++ b/ci/root_user_setup.sql @@ -1,3 +1,10 @@ +-- +-- Copyright (c) 2019-2020 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) +-- + ALTER USER 'root'@'localhost' IDENTIFIED WITH 'mysql_native_password'; ALTER USER 'root'@'localhost' IDENTIFIED BY ''; FLUSH PRIVILEGES; \ No newline at end of file diff --git a/ci/unix-ci.cnf b/ci/unix-ci.cnf index eb43b661..c591feba 100644 --- a/ci/unix-ci.cnf +++ b/ci/unix-ci.cnf @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020 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) +# + [mysqld] ssl-ca=/tmp/ca-cert.pem ssl-cert=/tmp/server-cert.pem diff --git a/ci/windows-ci.cnf b/ci/windows-ci.cnf index 8bdba9ad..7f7e741b 100644 --- a/ci/windows-ci.cnf +++ b/ci/windows-ci.cnf @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020 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) +# + [mysqld] ssl-ca=C:\\ca-cert.pem ssl-cert=C:\\server-cert.pem diff --git a/cmake/FindMysqlvalgrind.cmake b/cmake/FindMysqlvalgrind.cmake index 9e66963a..22479048 100644 --- a/cmake/FindMysqlvalgrind.cmake +++ b/cmake/FindMysqlvalgrind.cmake @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019-2020 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) +# # Perform the search find_program(Mysqlvalgrind_EXECUTABLE valgrind) diff --git a/cmake/test_utils.cmake b/cmake/test_utils.cmake index 2fed17e9..82c0d92f 100644 --- a/cmake/test_utils.cmake +++ b/cmake/test_utils.cmake @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019-2020 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) +# find_package(Python3 REQUIRED) diff --git a/cmake/utils.cmake b/cmake/utils.cmake index f8de17b3..f5ca5499 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019-2020 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) +# # Utility function to set warnings and other compile properties of # our test targets diff --git a/doc/Doxyfile b/doc/Doxyfile index 8b599a51..c8d1ffac 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -1,3 +1,11 @@ +# +# Copyright (c) 2019-2020 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) +# + + PROJECT_NAME = "Boost.MySQL" PROJECT_BRIEF = "A Boost.Asio-based client for MySQL" PROJECT_LOGO = proposed_for_boost.svg diff --git a/doc/doxygen_layout.xml b/doc/doxygen_layout.xml index 9afac8f8..7f60622f 100644 --- a/doc/doxygen_layout.xml +++ b/doc/doxygen_layout.xml @@ -1,3 +1,10 @@ + + diff --git a/doc/main_page.hpp b/doc/main_page.hpp index 042bd214..1d2c2ccd 100644 --- a/doc/main_page.hpp +++ b/doc/main_page.hpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// /** * \mainpage User manual diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index c024d63d..737d6514 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019-2020 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) +# find_package(Boost REQUIRED COMPONENTS coroutine) diff --git a/example/db_setup.sql b/example/db_setup.sql index e55ff671..adc4c526 100644 --- a/example/db_setup.sql +++ b/example/db_setup.sql @@ -1,3 +1,10 @@ +-- +-- Copyright (c) 2019-2020 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) +-- + -- Connection system variables SET NAMES utf8; diff --git a/example/metadata.cpp b/example/metadata.cpp index cfdfcb42..477387ab 100644 --- a/example/metadata.cpp +++ b/example/metadata.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include diff --git a/example/prepared_statements.cpp b/example/prepared_statements.cpp index 0c49206f..57cb7feb 100644 --- a/example/prepared_statements.cpp +++ b/example/prepared_statements.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include diff --git a/example/query_async_callbacks.cpp b/example/query_async_callbacks.cpp index bdaa1632..93cedc93 100644 --- a/example/query_async_callbacks.cpp +++ b/example/query_async_callbacks.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include diff --git a/example/query_async_coroutines.cpp b/example/query_async_coroutines.cpp index 64be1754..b6c5d44a 100644 --- a/example/query_async_coroutines.cpp +++ b/example/query_async_coroutines.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include diff --git a/example/query_async_futures.cpp b/example/query_async_futures.cpp index ef7c707e..d1a4637a 100644 --- a/example/query_async_futures.cpp +++ b/example/query_async_futures.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include diff --git a/example/query_sync.cpp b/example/query_sync.cpp index 53a97716..4c705f1a 100644 --- a/example/query_sync.cpp +++ b/example/query_sync.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include diff --git a/example/unix_socket.cpp b/example/unix_socket.cpp index a7068ead..18cf0f7c 100644 --- a/example/unix_socket.cpp +++ b/example/unix_socket.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include diff --git a/include/boost/mysql/collation.hpp b/include/boost/mysql/collation.hpp index 45ffe282..86d7e083 100644 --- a/include/boost/mysql/collation.hpp +++ b/include/boost/mysql/collation.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_COLLATION_HPP -#define MYSQL_ASIO_COLLATION_HPP +// +// Copyright (c) 2019-2020 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_COLLATION_HPP +#define BOOST_MYSQL_COLLATION_HPP #include diff --git a/include/boost/mysql/connection.hpp b/include/boost/mysql/connection.hpp index 3274fae9..00c4efe7 100644 --- a/include/boost/mysql/connection.hpp +++ b/include/boost/mysql/connection.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_CONNECTION_HPP -#define MYSQL_ASIO_CONNECTION_HPP +// +// Copyright (c) 2019-2020 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_CONNECTION_HPP +#define BOOST_MYSQL_CONNECTION_HPP #include "boost/mysql/detail/protocol/channel.hpp" #include "boost/mysql/detail/protocol/protocol_types.hpp" diff --git a/include/boost/mysql/connection_params.hpp b/include/boost/mysql/connection_params.hpp index 15323d92..873e26d2 100644 --- a/include/boost/mysql/connection_params.hpp +++ b/include/boost/mysql/connection_params.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_CONNECTION_PARAMS_HPP_ -#define INCLUDE_BOOST_MYSQL_CONNECTION_PARAMS_HPP_ +// +// Copyright (c) 2019-2020 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_CONNECTION_PARAMS_HPP +#define BOOST_MYSQL_CONNECTION_PARAMS_HPP #include #include "boost/mysql/collation.hpp" diff --git a/include/boost/mysql/detail/auth/auth_calculator.hpp b/include/boost/mysql/detail/auth/auth_calculator.hpp index 175bf490..b77dd06b 100644 --- a/include/boost/mysql/detail/auth/auth_calculator.hpp +++ b/include/boost/mysql/detail/auth/auth_calculator.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUTH_AUTH_CALCULATOR_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUTH_AUTH_CALCULATOR_HPP_ +// +// Copyright (c) 2019-2020 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_AUTH_AUTH_CALCULATOR_HPP +#define BOOST_MYSQL_DETAIL_AUTH_AUTH_CALCULATOR_HPP #include "boost/mysql/error.hpp" #include diff --git a/include/boost/mysql/detail/auth/caching_sha2_password.hpp b/include/boost/mysql/detail/auth/caching_sha2_password.hpp index 700f8183..f67d4d78 100644 --- a/include/boost/mysql/detail/auth/caching_sha2_password.hpp +++ b/include/boost/mysql/detail/auth/caching_sha2_password.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUTH_CACHING_SHA2_PASSWORD_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUTH_CACHING_SHA2_PASSWORD_HPP_ +// +// Copyright (c) 2019-2020 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_AUTH_CACHING_SHA2_PASSWORD_HPP +#define BOOST_MYSQL_DETAIL_AUTH_CACHING_SHA2_PASSWORD_HPP #include #include diff --git a/include/boost/mysql/detail/auth/impl/auth_calculator.ipp b/include/boost/mysql/detail/auth/impl/auth_calculator.ipp index 0162ac95..9c21706f 100644 --- a/include/boost/mysql/detail/auth/impl/auth_calculator.ipp +++ b/include/boost/mysql/detail/auth/impl/auth_calculator.ipp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUTH_IMPL_AUTH_CALCULATOR_IPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUTH_IMPL_AUTH_CALCULATOR_IPP_ +// +// Copyright (c) 2019-2020 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_AUTH_IMPL_AUTH_CALCULATOR_IPP +#define BOOST_MYSQL_DETAIL_AUTH_IMPL_AUTH_CALCULATOR_IPP #include "boost/mysql/detail/auth/mysql_native_password.hpp" #include "boost/mysql/detail/auth/caching_sha2_password.hpp" diff --git a/include/boost/mysql/detail/auth/impl/caching_sha2_password.ipp b/include/boost/mysql/detail/auth/impl/caching_sha2_password.ipp index b2f2a9f0..7e3eec45 100644 --- a/include/boost/mysql/detail/auth/impl/caching_sha2_password.ipp +++ b/include/boost/mysql/detail/auth/impl/caching_sha2_password.ipp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUTH_IMPL_CACHING_SHA2_PASSWORD_IPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUTH_IMPL_CACHING_SHA2_PASSWORD_IPP_ +// +// Copyright (c) 2019-2020 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_AUTH_IMPL_CACHING_SHA2_PASSWORD_IPP +#define BOOST_MYSQL_DETAIL_AUTH_IMPL_CACHING_SHA2_PASSWORD_IPP #include #include diff --git a/include/boost/mysql/detail/auth/impl/mysql_native_password.ipp b/include/boost/mysql/detail/auth/impl/mysql_native_password.ipp index acd9fd3f..9ccae1d6 100644 --- a/include/boost/mysql/detail/auth/impl/mysql_native_password.ipp +++ b/include/boost/mysql/detail/auth/impl/mysql_native_password.ipp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_AUTH_IPP -#define MYSQL_ASIO_IMPL_AUTH_IPP +// +// Copyright (c) 2019-2020 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_AUTH_IMPL_MYSQL_NATIVE_PASSWORD_IPP +#define BOOST_MYSQL_DETAIL_AUTH_IMPL_MYSQL_NATIVE_PASSWORD_IPP #include #include diff --git a/include/boost/mysql/detail/auth/mysql_native_password.hpp b/include/boost/mysql/detail/auth/mysql_native_password.hpp index 54b79c27..a720baee 100644 --- a/include/boost/mysql/detail/auth/mysql_native_password.hpp +++ b/include/boost/mysql/detail/auth/mysql_native_password.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_AUTH_HPP -#define MYSQL_ASIO_IMPL_AUTH_HPP +// +// Copyright (c) 2019-2020 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_AUTH_MYSQL_NATIVE_PASSWORD_HPP +#define BOOST_MYSQL_DETAIL_AUTH_MYSQL_NATIVE_PASSWORD_HPP #include #include diff --git a/include/boost/mysql/detail/auxiliar/async_result_macro.hpp b/include/boost/mysql/detail/auxiliar/async_result_macro.hpp index d64fd017..1b734130 100644 --- a/include/boost/mysql/detail/auxiliar/async_result_macro.hpp +++ b/include/boost/mysql/detail/auxiliar/async_result_macro.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_ASYNC_RESULT_MACRO_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_ASYNC_RESULT_MACRO_HPP_ +// +// Copyright (c) 2019-2020 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_AUXILIAR_ASYNC_RESULT_MACRO_HPP +#define BOOST_MYSQL_DETAIL_AUXILIAR_ASYNC_RESULT_MACRO_HPP #include diff --git a/include/boost/mysql/detail/auxiliar/bytestring.hpp b/include/boost/mysql/detail/auxiliar/bytestring.hpp index 19ca2aa6..1bc00646 100644 --- a/include/boost/mysql/detail/auxiliar/bytestring.hpp +++ b/include/boost/mysql/detail/auxiliar/bytestring.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_BYTESTRING_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_BYTESTRING_HPP_ +// +// Copyright (c) 2019-2020 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_AUXILIAR_BYTESTRING_HPP +#define BOOST_MYSQL_DETAIL_AUXILIAR_BYTESTRING_HPP #include diff --git a/include/boost/mysql/detail/auxiliar/check_completion_token.hpp b/include/boost/mysql/detail/auxiliar/check_completion_token.hpp index bc55bebb..6bde5516 100644 --- a/include/boost/mysql/detail/auxiliar/check_completion_token.hpp +++ b/include/boost/mysql/detail/auxiliar/check_completion_token.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_CHECK_COMPLETION_TOKEN_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_CHECK_COMPLETION_TOKEN_HPP_ +// +// Copyright (c) 2019-2020 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_AUXILIAR_CHECK_COMPLETION_TOKEN_HPP +#define BOOST_MYSQL_DETAIL_AUXILIAR_CHECK_COMPLETION_TOKEN_HPP #include #include diff --git a/include/boost/mysql/detail/auxiliar/container_equals.hpp b/include/boost/mysql/detail/auxiliar/container_equals.hpp index 1ee1e348..9753d5fd 100644 --- a/include/boost/mysql/detail/auxiliar/container_equals.hpp +++ b/include/boost/mysql/detail/auxiliar/container_equals.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_CONTAINER_EQUALS_HPP -#define MYSQL_ASIO_IMPL_CONTAINER_EQUALS_HPP +// +// Copyright (c) 2019-2020 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_AUXILIAR_CONTAINER_EQUALS_HPP +#define BOOST_MYSQL_DETAIL_AUXILIAR_CONTAINER_EQUALS_HPP #include #include diff --git a/include/boost/mysql/detail/auxiliar/stringize.hpp b/include/boost/mysql/detail/auxiliar/stringize.hpp index 86a58a17..a98f6cef 100644 --- a/include/boost/mysql/detail/auxiliar/stringize.hpp +++ b/include/boost/mysql/detail/auxiliar/stringize.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_STRINGIZE_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_STRINGIZE_HPP_ +// +// Copyright (c) 2019-2020 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_AUXILIAR_STRINGIZE_HPP +#define BOOST_MYSQL_DETAIL_AUXILIAR_STRINGIZE_HPP #include #include diff --git a/include/boost/mysql/detail/auxiliar/tmp.hpp b/include/boost/mysql/detail/auxiliar/tmp.hpp index 13962df5..87410296 100644 --- a/include/boost/mysql/detail/auxiliar/tmp.hpp +++ b/include/boost/mysql/detail/auxiliar/tmp.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_TMP_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_TMP_HPP_ +// +// Copyright (c) 2019-2020 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_AUXILIAR_TMP_HPP +#define BOOST_MYSQL_DETAIL_AUXILIAR_TMP_HPP #include diff --git a/include/boost/mysql/detail/auxiliar/valgrind.hpp b/include/boost/mysql/detail/auxiliar/valgrind.hpp index e5e4ee2c..9be20369 100644 --- a/include/boost/mysql/detail/auxiliar/valgrind.hpp +++ b/include/boost/mysql/detail/auxiliar/valgrind.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_VALGRIND_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_AUXILIAR_VALGRIND_HPP_ +// +// Copyright (c) 2019-2020 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_AUXILIAR_VALGRIND_HPP +#define BOOST_MYSQL_DETAIL_AUXILIAR_VALGRIND_HPP #ifdef BOOST_MYSQL_VALGRIND_TESTS #include diff --git a/include/boost/mysql/detail/network_algorithms/close_statement.hpp b/include/boost/mysql/detail/network_algorithms/close_statement.hpp index f559cc71..e5794ac2 100644 --- a/include/boost/mysql/detail/network_algorithms/close_statement.hpp +++ b/include/boost/mysql/detail/network_algorithms/close_statement.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_CLOSE_STATEMENT_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_CLOSE_STATEMENT_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_CLOSE_STATEMENT_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_CLOSE_STATEMENT_HPP #include "boost/mysql/detail/network_algorithms/common.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/common.hpp b/include/boost/mysql/detail/network_algorithms/common.hpp index bcbd66b8..66f45481 100644 --- a/include/boost/mysql/detail/network_algorithms/common.hpp +++ b/include/boost/mysql/detail/network_algorithms/common.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_COMMON_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_COMMON_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_COMMON_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_COMMON_HPP #include #include diff --git a/include/boost/mysql/detail/network_algorithms/execute_generic.hpp b/include/boost/mysql/detail/network_algorithms/execute_generic.hpp index 58e061b1..e1b1015a 100644 --- a/include/boost/mysql/detail/network_algorithms/execute_generic.hpp +++ b/include/boost/mysql/detail/network_algorithms/execute_generic.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_MYSQL_IMPL_NETWORK_ALGORITHMS_READ_RESULTSET_HEAD_HPP_ -#define INCLUDE_MYSQL_IMPL_NETWORK_ALGORITHMS_READ_RESULTSET_HEAD_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_EXECUTE_GENERIC_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_EXECUTE_GENERIC_HPP #include "boost/mysql/detail/network_algorithms/common.hpp" #include "boost/mysql/resultset.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/execute_query.hpp b/include/boost/mysql/detail/network_algorithms/execute_query.hpp index a531dcbc..ca1f77cf 100644 --- a/include/boost/mysql/detail/network_algorithms/execute_query.hpp +++ b/include/boost/mysql/detail/network_algorithms/execute_query.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_EXECUTE_QUERY_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_EXECUTE_QUERY_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_EXECUTE_QUERY_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_EXECUTE_QUERY_HPP #include "boost/mysql/detail/network_algorithms/common.hpp" #include "boost/mysql/detail/network_algorithms/execute_generic.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/execute_statement.hpp b/include/boost/mysql/detail/network_algorithms/execute_statement.hpp index fdaddf4d..cecbb596 100644 --- a/include/boost/mysql/detail/network_algorithms/execute_statement.hpp +++ b/include/boost/mysql/detail/network_algorithms/execute_statement.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_EXECUTE_STATEMENT_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_EXECUTE_STATEMENT_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_EXECUTE_STATEMENT_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_EXECUTE_STATEMENT_HPP #include "boost/mysql/detail/network_algorithms/common.hpp" #include "boost/mysql/detail/network_algorithms/execute_generic.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/handshake.hpp b/include/boost/mysql/detail/network_algorithms/handshake.hpp index 6a5cddd2..d6bfa6df 100644 --- a/include/boost/mysql/detail/network_algorithms/handshake.hpp +++ b/include/boost/mysql/detail/network_algorithms/handshake.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_HANDSHAKE_HPP -#define MYSQL_ASIO_IMPL_HANDSHAKE_HPP +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_HANDSHAKE_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_HANDSHAKE_HPP #include #include "boost/mysql/detail/network_algorithms/common.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/impl/close_statement.hpp b/include/boost/mysql/detail/network_algorithms/impl/close_statement.hpp index 71e45359..4674aa8f 100644 --- a/include/boost/mysql/detail/network_algorithms/impl/close_statement.hpp +++ b/include/boost/mysql/detail/network_algorithms/impl/close_statement.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_CLOSE_STATEMENT_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_CLOSE_STATEMENT_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_IMPL_CLOSE_STATEMENT_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_CLOSE_STATEMENT_HPP #include "boost/mysql/detail/protocol/prepared_statement_messages.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/impl/execute_generic.hpp b/include/boost/mysql/detail/network_algorithms/impl/execute_generic.hpp index ce83c67b..c49ccd97 100644 --- a/include/boost/mysql/detail/network_algorithms/impl/execute_generic.hpp +++ b/include/boost/mysql/detail/network_algorithms/impl/execute_generic.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_MYSQL_IMPL_NETWORK_ALGORITHMS_READ_RESULTSET_HEAD_IPP_ -#define INCLUDE_MYSQL_IMPL_NETWORK_ALGORITHMS_READ_RESULTSET_HEAD_IPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_IMPL_EXECUTE_GENERIC_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_EXECUTE_GENERIC_HPP #include #include diff --git a/include/boost/mysql/detail/network_algorithms/impl/execute_query.hpp b/include/boost/mysql/detail/network_algorithms/impl/execute_query.hpp index f657aaf2..75fa4593 100644 --- a/include/boost/mysql/detail/network_algorithms/impl/execute_query.hpp +++ b/include/boost/mysql/detail/network_algorithms/impl/execute_query.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_EXECUTE_QUERY_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_EXECUTE_QUERY_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_IMPL_EXECUTE_QUERY_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_EXECUTE_QUERY_HPP #include "boost/mysql/detail/protocol/text_deserialization.hpp" #include "boost/mysql/detail/protocol/query_messages.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/impl/execute_statement.hpp b/include/boost/mysql/detail/network_algorithms/impl/execute_statement.hpp index 3a3e1994..a0f4d7b2 100644 --- a/include/boost/mysql/detail/network_algorithms/impl/execute_statement.hpp +++ b/include/boost/mysql/detail/network_algorithms/impl/execute_statement.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_EXECUTE_STATEMENT_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_EXECUTE_STATEMENT_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_IMPL_EXECUTE_STATEMENT_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_EXECUTE_STATEMENT_HPP #include "boost/mysql/detail/protocol/binary_deserialization.hpp" #include "boost/mysql/detail/protocol/prepared_statement_messages.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/impl/handshake.hpp b/include/boost/mysql/detail/network_algorithms/impl/handshake.hpp index 0ed72687..8f5c1f60 100644 --- a/include/boost/mysql/detail/network_algorithms/impl/handshake.hpp +++ b/include/boost/mysql/detail/network_algorithms/impl/handshake.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_HANDSHAKE_IPP -#define MYSQL_ASIO_IMPL_HANDSHAKE_IPP +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_IMPL_HANDSHAKE_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_HANDSHAKE_HPP #include "boost/mysql/detail/network_algorithms/common.hpp" #include "boost/mysql/detail/protocol/capabilities.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/impl/prepare_statement.hpp b/include/boost/mysql/detail/network_algorithms/impl/prepare_statement.hpp index 43e54d16..0095e477 100644 --- a/include/boost/mysql/detail/network_algorithms/impl/prepare_statement.hpp +++ b/include/boost/mysql/detail/network_algorithms/impl/prepare_statement.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_PREPARE_STATEMENT_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_PREPARE_STATEMENT_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_IMPL_PREPARE_STATEMENT_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_PREPARE_STATEMENT_HPP #include diff --git a/include/boost/mysql/detail/network_algorithms/impl/read_row.hpp b/include/boost/mysql/detail/network_algorithms/impl/read_row.hpp index 19c8b533..fddc7bba 100644 --- a/include/boost/mysql/detail/network_algorithms/impl/read_row.hpp +++ b/include/boost/mysql/detail/network_algorithms/impl/read_row.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_MYSQL_IMPL_NETWORK_ALGORITHMS_READ_TEXT_ROW_IPP_ -#define INCLUDE_MYSQL_IMPL_NETWORK_ALGORITHMS_READ_TEXT_ROW_IPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_IMPL_READ_ROW_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_IMPL_READ_ROW_HPP #include "boost/mysql/detail/protocol/text_deserialization.hpp" #include diff --git a/include/boost/mysql/detail/network_algorithms/prepare_statement.hpp b/include/boost/mysql/detail/network_algorithms/prepare_statement.hpp index e2529b39..4d09f6aa 100644 --- a/include/boost/mysql/detail/network_algorithms/prepare_statement.hpp +++ b/include/boost/mysql/detail/network_algorithms/prepare_statement.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_PREPARE_STATEMENT_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_PREPARE_STATEMENT_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_PREPARE_STATEMENT_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_PREPARE_STATEMENT_HPP #include "boost/mysql/detail/network_algorithms/common.hpp" #include "boost/mysql/prepared_statement.hpp" diff --git a/include/boost/mysql/detail/network_algorithms/read_row.hpp b/include/boost/mysql/detail/network_algorithms/read_row.hpp index 459c0e2a..7779148f 100644 --- a/include/boost/mysql/detail/network_algorithms/read_row.hpp +++ b/include/boost/mysql/detail/network_algorithms/read_row.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_MYSQL_IMPL_NETWORK_ALGORITHMS_READ_TEXT_ROW_HPP_ -#define INCLUDE_MYSQL_IMPL_NETWORK_ALGORITHMS_READ_TEXT_ROW_HPP_ +// +// Copyright (c) 2019-2020 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_NETWORK_ALGORITHMS_READ_ROW_HPP +#define BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_READ_ROW_HPP #include "boost/mysql/detail/network_algorithms/common.hpp" #include "boost/mysql/metadata.hpp" diff --git a/include/boost/mysql/detail/protocol/binary_deserialization.hpp b/include/boost/mysql/detail/protocol/binary_deserialization.hpp index 814722b5..b5479c22 100644 --- a/include/boost/mysql/detail/protocol/binary_deserialization.hpp +++ b/include/boost/mysql/detail/protocol/binary_deserialization.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_BINARY_DESERIALIZATION_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_BINARY_DESERIALIZATION_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_BINARY_DESERIALIZATION_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_BINARY_DESERIALIZATION_HPP #include "boost/mysql/detail/protocol/serialization.hpp" #include "boost/mysql/error.hpp" diff --git a/include/boost/mysql/detail/protocol/capabilities.hpp b/include/boost/mysql/detail/protocol/capabilities.hpp index 22cbed8b..f95bc4b0 100644 --- a/include/boost/mysql/detail/protocol/capabilities.hpp +++ b/include/boost/mysql/detail/protocol/capabilities.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_CAPABILITIES_HPP -#define MYSQL_ASIO_IMPL_CAPABILITIES_HPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_CAPABILITIES_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_CAPABILITIES_HPP #include diff --git a/include/boost/mysql/detail/protocol/channel.hpp b/include/boost/mysql/detail/protocol/channel.hpp index 8e86c3cb..60d39af3 100644 --- a/include/boost/mysql/detail/protocol/channel.hpp +++ b/include/boost/mysql/detail/protocol/channel.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_CHANNEL_HPP -#define MYSQL_ASIO_IMPL_CHANNEL_HPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_CHANNEL_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_CHANNEL_HPP #include "boost/mysql/error.hpp" #include "boost/mysql/detail/auxiliar/bytestring.hpp" diff --git a/include/boost/mysql/detail/protocol/common_messages.hpp b/include/boost/mysql/detail/protocol/common_messages.hpp index 3ceadebf..4ba8981c 100644 --- a/include/boost/mysql/detail/protocol/common_messages.hpp +++ b/include/boost/mysql/detail/protocol/common_messages.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_COMMON_MESSAGES_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_COMMON_MESSAGES_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_COMMON_MESSAGES_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_COMMON_MESSAGES_HPP #include "boost/mysql/detail/protocol/serialization.hpp" #include "boost/mysql/detail/protocol/constants.hpp" diff --git a/include/boost/mysql/detail/protocol/constants.hpp b/include/boost/mysql/detail/protocol/constants.hpp index a6802fdd..03696ed9 100644 --- a/include/boost/mysql/detail/protocol/constants.hpp +++ b/include/boost/mysql/detail/protocol/constants.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_CONSTANTS_HPP -#define MYSQL_ASIO_IMPL_CONSTANTS_HPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_CONSTANTS_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_CONSTANTS_HPP #include "boost/mysql/detail/protocol/protocol_types.hpp" diff --git a/include/boost/mysql/detail/protocol/deserialization_context.hpp b/include/boost/mysql/detail/protocol/deserialization_context.hpp index c73eb18e..4517bef8 100644 --- a/include/boost/mysql/detail/protocol/deserialization_context.hpp +++ b/include/boost/mysql/detail/protocol/deserialization_context.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_DESERIALIZATION_CONTEXT_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_DESERIALIZATION_CONTEXT_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_DESERIALIZATION_CONTEXT_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_DESERIALIZATION_CONTEXT_HPP #include "boost/mysql/detail/protocol/capabilities.hpp" #include "boost/mysql/error.hpp" diff --git a/include/boost/mysql/detail/protocol/handshake_messages.hpp b/include/boost/mysql/detail/protocol/handshake_messages.hpp index a4083d79..95394180 100644 --- a/include/boost/mysql/detail/protocol/handshake_messages.hpp +++ b/include/boost/mysql/detail/protocol/handshake_messages.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_HANDSHAKE_MESSAGES_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_HANDSHAKE_MESSAGES_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_HANDSHAKE_MESSAGES_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_HANDSHAKE_MESSAGES_HPP #include "boost/mysql/detail/protocol/serialization.hpp" diff --git a/include/boost/mysql/detail/protocol/impl/binary_deserialization.ipp b/include/boost/mysql/detail/protocol/impl/binary_deserialization.ipp index f2128b6b..9bd4ca10 100644 --- a/include/boost/mysql/detail/protocol/impl/binary_deserialization.ipp +++ b/include/boost/mysql/detail/protocol/impl/binary_deserialization.ipp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_BINARY_DESERIALIZATION_IPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_BINARY_DESERIALIZATION_IPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_IMPL_BINARY_DESERIALIZATION_IPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_BINARY_DESERIALIZATION_IPP #include #include "boost/mysql/detail/protocol/serialization.hpp" diff --git a/include/boost/mysql/detail/protocol/impl/channel.hpp b/include/boost/mysql/detail/protocol/impl/channel.hpp index f328b815..512e395f 100644 --- a/include/boost/mysql/detail/protocol/impl/channel.hpp +++ b/include/boost/mysql/detail/protocol/impl/channel.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_CHANNEL_IPP -#define MYSQL_ASIO_IMPL_CHANNEL_IPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_IMPL_CHANNEL_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_CHANNEL_HPP #include #include diff --git a/include/boost/mysql/detail/protocol/impl/common_messages.ipp b/include/boost/mysql/detail/protocol/impl/common_messages.ipp index 4c176ebb..fa341ddd 100644 --- a/include/boost/mysql/detail/protocol/impl/common_messages.ipp +++ b/include/boost/mysql/detail/protocol/impl/common_messages.ipp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_COMMON_MESSAGES_IPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_COMMON_MESSAGES_IPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_IMPL_COMMON_MESSAGES_IPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_COMMON_MESSAGES_IPP inline boost::mysql::errc boost::mysql::detail::serialization_traits< diff --git a/include/boost/mysql/detail/protocol/impl/handshake_messages.ipp b/include/boost/mysql/detail/protocol/impl/handshake_messages.ipp index 426ba64f..4a59f8f3 100644 --- a/include/boost/mysql/detail/protocol/impl/handshake_messages.ipp +++ b/include/boost/mysql/detail/protocol/impl/handshake_messages.ipp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_HANDSHAKE_MESSAGES_IPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_HANDSHAKE_MESSAGES_IPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_IMPL_HANDSHAKE_MESSAGES_IPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_HANDSHAKE_MESSAGES_IPP inline boost::mysql::errc diff --git a/include/boost/mysql/detail/protocol/impl/prepared_statement_messages.hpp b/include/boost/mysql/detail/protocol/impl/prepared_statement_messages.hpp index 73f9f1fb..51a832de 100644 --- a/include/boost/mysql/detail/protocol/impl/prepared_statement_messages.hpp +++ b/include/boost/mysql/detail/protocol/impl/prepared_statement_messages.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_PREPARED_STATEMENT_MESSAGES_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_PREPARED_STATEMENT_MESSAGES_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_IMPL_PREPARED_STATEMENT_MESSAGES_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_PREPARED_STATEMENT_MESSAGES_HPP #include "boost/mysql/detail/protocol/null_bitmap_traits.hpp" diff --git a/include/boost/mysql/detail/protocol/impl/serialization.hpp b/include/boost/mysql/detail/protocol/impl/serialization.hpp index d1517fe7..8425a621 100644 --- a/include/boost/mysql/detail/protocol/impl/serialization.hpp +++ b/include/boost/mysql/detail/protocol/impl/serialization.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_SERIALIZATION_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_SERIALIZATION_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_IMPL_SERIALIZATION_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_SERIALIZATION_HPP namespace boost { namespace mysql { diff --git a/include/boost/mysql/detail/protocol/impl/serialization.ipp b/include/boost/mysql/detail/protocol/impl/serialization.ipp index 06df95de..9bc223f3 100644 --- a/include/boost/mysql/detail/protocol/impl/serialization.ipp +++ b/include/boost/mysql/detail/protocol/impl/serialization.ipp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_SERIALIZATION_IPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_SERIALIZATION_IPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_IMPL_SERIALIZATION_IPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_SERIALIZATION_IPP #include diff --git a/include/boost/mysql/detail/protocol/impl/text_deserialization.ipp b/include/boost/mysql/detail/protocol/impl/text_deserialization.ipp index d0c9145f..60bc5e10 100644 --- a/include/boost/mysql/detail/protocol/impl/text_deserialization.ipp +++ b/include/boost/mysql/detail/protocol/impl/text_deserialization.ipp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_DESERIALIZE_ROW_IPP -#define MYSQL_ASIO_IMPL_DESERIALIZE_ROW_IPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_IMPL_TEXT_DESERIALIZATION_IPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_IMPL_TEXT_DESERIALIZATION_IPP #include #include diff --git a/include/boost/mysql/detail/protocol/null_bitmap_traits.hpp b/include/boost/mysql/detail/protocol/null_bitmap_traits.hpp index 7cb811a0..fd12f868 100644 --- a/include/boost/mysql/detail/protocol/null_bitmap_traits.hpp +++ b/include/boost/mysql/detail/protocol/null_bitmap_traits.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_NULL_BITMAP_TRAITS_HPP -#define MYSQL_ASIO_IMPL_NULL_BITMAP_TRAITS_HPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_NULL_BITMAP_TRAITS_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_NULL_BITMAP_TRAITS_HPP #include #include diff --git a/include/boost/mysql/detail/protocol/prepared_statement_messages.hpp b/include/boost/mysql/detail/protocol/prepared_statement_messages.hpp index 6d777ed1..80198450 100644 --- a/include/boost/mysql/detail/protocol/prepared_statement_messages.hpp +++ b/include/boost/mysql/detail/protocol/prepared_statement_messages.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_PREPARED_STATEMENT_MESSAGES_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_PREPARED_STATEMENT_MESSAGES_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_PREPARED_STATEMENT_MESSAGES_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_PREPARED_STATEMENT_MESSAGES_HPP #include "boost/mysql/detail/protocol/serialization.hpp" #include "boost/mysql/detail/protocol/constants.hpp" diff --git a/include/boost/mysql/detail/protocol/protocol_types.hpp b/include/boost/mysql/detail/protocol/protocol_types.hpp index 002216e5..96286e39 100644 --- a/include/boost/mysql/detail/protocol/protocol_types.hpp +++ b/include/boost/mysql/detail/protocol/protocol_types.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_BASIC_TYPES_HPP -#define MYSQL_ASIO_IMPL_BASIC_TYPES_HPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_PROTOCOL_TYPES_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_PROTOCOL_TYPES_HPP #include "boost/mysql/detail/protocol/value_holder.hpp" #include diff --git a/include/boost/mysql/detail/protocol/query_messages.hpp b/include/boost/mysql/detail/protocol/query_messages.hpp index 74c7043f..e074c537 100644 --- a/include/boost/mysql/detail/protocol/query_messages.hpp +++ b/include/boost/mysql/detail/protocol/query_messages.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_QUERY_MESSAGES_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_QUERY_MESSAGES_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_QUERY_MESSAGES_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_QUERY_MESSAGES_HPP #include "boost/mysql/detail/protocol/serialization.hpp" #include diff --git a/include/boost/mysql/detail/protocol/serialization.hpp b/include/boost/mysql/detail/protocol/serialization.hpp index 3bb6e077..67a10268 100644 --- a/include/boost/mysql/detail/protocol/serialization.hpp +++ b/include/boost/mysql/detail/protocol/serialization.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_SERIALIZATION_HPP -#define MYSQL_ASIO_IMPL_SERIALIZATION_HPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_SERIALIZATION_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_SERIALIZATION_HPP #include #include diff --git a/include/boost/mysql/detail/protocol/serialization_context.hpp b/include/boost/mysql/detail/protocol/serialization_context.hpp index 6a20eb02..dfa48ed3 100644 --- a/include/boost/mysql/detail/protocol/serialization_context.hpp +++ b/include/boost/mysql/detail/protocol/serialization_context.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_SERIALIZATION_CONTEXT_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_SERIALIZATION_CONTEXT_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_SERIALIZATION_CONTEXT_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_SERIALIZATION_CONTEXT_HPP #include "boost/mysql/detail/protocol/capabilities.hpp" #include diff --git a/include/boost/mysql/detail/protocol/text_deserialization.hpp b/include/boost/mysql/detail/protocol/text_deserialization.hpp index 8ca35884..126fd68c 100644 --- a/include/boost/mysql/detail/protocol/text_deserialization.hpp +++ b/include/boost/mysql/detail/protocol/text_deserialization.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_DESERIALIZE_ROW_HPP -#define MYSQL_ASIO_IMPL_DESERIALIZE_ROW_HPP +// +// Copyright (c) 2019-2020 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_PROTOCOL_TEXT_DESERIALIZATION_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_TEXT_DESERIALIZATION_HPP #include "boost/mysql/detail/protocol/serialization.hpp" #include "boost/mysql/error.hpp" diff --git a/include/boost/mysql/detail/protocol/value_holder.hpp b/include/boost/mysql/detail/protocol/value_holder.hpp index 244ea66d..c8568c03 100644 --- a/include/boost/mysql/detail/protocol/value_holder.hpp +++ b/include/boost/mysql/detail/protocol/value_holder.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_VALUE_HOLDER_HPP_ -#define INCLUDE_BOOST_MYSQL_DETAIL_PROTOCOL_VALUE_HOLDER_HPP_ +// +// Copyright (c) 2019-2020 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_PROTOCOL_VALUE_HOLDER_HPP +#define BOOST_MYSQL_DETAIL_PROTOCOL_VALUE_HOLDER_HPP #include #include diff --git a/include/boost/mysql/error.hpp b/include/boost/mysql/error.hpp index 09cb83e6..8cced1d8 100644 --- a/include/boost/mysql/error.hpp +++ b/include/boost/mysql/error.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_ERROR_HPP -#define MYSQL_ASIO_ERROR_HPP +// +// Copyright (c) 2019-2020 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_ERROR_HPP +#define BOOST_MYSQL_ERROR_HPP #include #include diff --git a/include/boost/mysql/field_type.hpp b/include/boost/mysql/field_type.hpp index a53d8e03..66879dae 100644 --- a/include/boost/mysql/field_type.hpp +++ b/include/boost/mysql/field_type.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_FIELD_TYPE_HPP -#define MYSQL_ASIO_FIELD_TYPE_HPP +// +// Copyright (c) 2019-2020 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_FIELD_TYPE_HPP +#define BOOST_MYSQL_FIELD_TYPE_HPP #include diff --git a/include/boost/mysql/impl/connection.hpp b/include/boost/mysql/impl/connection.hpp index df9ca8ca..e7534248 100644 --- a/include/boost/mysql/impl/connection.hpp +++ b/include/boost/mysql/impl/connection.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_CONNECTION_IPP -#define MYSQL_ASIO_IMPL_CONNECTION_IPP +// +// Copyright (c) 2019-2020 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_IMPL_CONNECTION_HPP +#define BOOST_MYSQL_IMPL_CONNECTION_HPP #include "boost/mysql/detail/network_algorithms/handshake.hpp" #include "boost/mysql/detail/network_algorithms/execute_query.hpp" diff --git a/include/boost/mysql/impl/error.hpp b/include/boost/mysql/impl/error.hpp index 0e2c4c08..16828d8a 100644 --- a/include/boost/mysql/impl/error.hpp +++ b/include/boost/mysql/impl/error.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_ERROR_HPP -#define MYSQL_ASIO_IMPL_ERROR_HPP +// +// Copyright (c) 2019-2020 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_IMPL_ERROR_HPP +#define BOOST_MYSQL_IMPL_ERROR_HPP #include #include diff --git a/include/boost/mysql/impl/metadata.ipp b/include/boost/mysql/impl/metadata.ipp index 916c424d..2dd42fc4 100644 --- a/include/boost/mysql/impl/metadata.ipp +++ b/include/boost/mysql/impl/metadata.ipp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_METADATA_HPP -#define MYSQL_ASIO_IMPL_METADATA_HPP +// +// Copyright (c) 2019-2020 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_IMPL_METADATA_IPP +#define BOOST_MYSQL_IMPL_METADATA_IPP namespace boost { namespace mysql { diff --git a/include/boost/mysql/impl/prepared_statement.hpp b/include/boost/mysql/impl/prepared_statement.hpp index 407bb61c..adcf7d6e 100644 --- a/include/boost/mysql/impl/prepared_statement.hpp +++ b/include/boost/mysql/impl/prepared_statement.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_IMPL_PREPARED_STATEMENT_HPP_ -#define INCLUDE_BOOST_MYSQL_IMPL_PREPARED_STATEMENT_HPP_ +// +// Copyright (c) 2019-2020 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_IMPL_PREPARED_STATEMENT_HPP +#define BOOST_MYSQL_IMPL_PREPARED_STATEMENT_HPP #include "boost/mysql/detail/network_algorithms/execute_statement.hpp" #include "boost/mysql/detail/network_algorithms/close_statement.hpp" diff --git a/include/boost/mysql/impl/resultset.hpp b/include/boost/mysql/impl/resultset.hpp index 9a4b2a8a..a750d797 100644 --- a/include/boost/mysql/impl/resultset.hpp +++ b/include/boost/mysql/impl/resultset.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_RESULTSET_HPP -#define MYSQL_ASIO_IMPL_RESULTSET_HPP +// +// Copyright (c) 2019-2020 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_IMPL_RESULTSET_HPP +#define BOOST_MYSQL_IMPL_RESULTSET_HPP #include "boost/mysql/detail/network_algorithms/read_row.hpp" #include "boost/mysql/detail/auxiliar/check_completion_token.hpp" diff --git a/include/boost/mysql/impl/server_error_descriptions.hpp b/include/boost/mysql/impl/server_error_descriptions.hpp index 68d90191..9fc4278f 100644 --- a/include/boost/mysql/impl/server_error_descriptions.hpp +++ b/include/boost/mysql/impl/server_error_descriptions.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_SERVER_ERROR_DESCRIPTIONS_HPP -#define MYSQL_ASIO_IMPL_SERVER_ERROR_DESCRIPTIONS_HPP +// +// Copyright (c) 2019-2020 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_IMPL_SERVER_ERROR_DESCRIPTIONS_HPP +#define BOOST_MYSQL_IMPL_SERVER_ERROR_DESCRIPTIONS_HPP case errc::no: return "no"; case errc::yes: return "yes"; diff --git a/include/boost/mysql/impl/server_error_enum.hpp b/include/boost/mysql/impl/server_error_enum.hpp index 8b72419c..8834255d 100644 --- a/include/boost/mysql/impl/server_error_enum.hpp +++ b/include/boost/mysql/impl/server_error_enum.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_SERVER_ERROR_ENUM_HPP -#define MYSQL_ASIO_IMPL_SERVER_ERROR_ENUM_HPP +// +// Copyright (c) 2019-2020 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_IMPL_SERVER_ERROR_ENUM_HPP +#define BOOST_MYSQL_IMPL_SERVER_ERROR_ENUM_HPP no = 1002, yes = 1003, diff --git a/include/boost/mysql/impl/value.hpp b/include/boost/mysql/impl/value.hpp index 3c8ccb3c..b9a1808f 100644 --- a/include/boost/mysql/impl/value.hpp +++ b/include/boost/mysql/impl/value.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_IMPL_VALUE_HPP -#define MYSQL_ASIO_IMPL_VALUE_HPP +// +// Copyright (c) 2019-2020 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_IMPL_VALUE_HPP +#define BOOST_MYSQL_IMPL_VALUE_HPP #include "boost/mysql/detail/auxiliar/container_equals.hpp" diff --git a/include/boost/mysql/metadata.hpp b/include/boost/mysql/metadata.hpp index b47f0079..10b06008 100644 --- a/include/boost/mysql/metadata.hpp +++ b/include/boost/mysql/metadata.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_METADATA_HPP -#define MYSQL_ASIO_METADATA_HPP +// +// Copyright (c) 2019-2020 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_METADATA_HPP +#define BOOST_MYSQL_METADATA_HPP #include "boost/mysql/detail/protocol/common_messages.hpp" #include "boost/mysql/detail/auxiliar/bytestring.hpp" diff --git a/include/boost/mysql/prepared_statement.hpp b/include/boost/mysql/prepared_statement.hpp index d820c327..bccbc7b9 100644 --- a/include/boost/mysql/prepared_statement.hpp +++ b/include/boost/mysql/prepared_statement.hpp @@ -1,5 +1,12 @@ -#ifndef INCLUDE_BOOST_MYSQL_PREPARED_STATEMENT_HPP_ -#define INCLUDE_BOOST_MYSQL_PREPARED_STATEMENT_HPP_ +// +// Copyright (c) 2019-2020 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_PREPARED_STATEMENT_HPP +#define BOOST_MYSQL_PREPARED_STATEMENT_HPP #include "boost/mysql/resultset.hpp" #include "boost/mysql/detail/protocol/channel.hpp" diff --git a/include/boost/mysql/resultset.hpp b/include/boost/mysql/resultset.hpp index ffd7f3e8..9ce5f9b1 100644 --- a/include/boost/mysql/resultset.hpp +++ b/include/boost/mysql/resultset.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_RESULTSET_HPP -#define MYSQL_ASIO_RESULTSET_HPP +// +// Copyright (c) 2019-2020 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_RESULTSET_HPP +#define BOOST_MYSQL_RESULTSET_HPP #include "boost/mysql/row.hpp" #include "boost/mysql/metadata.hpp" diff --git a/include/boost/mysql/row.hpp b/include/boost/mysql/row.hpp index cbf54819..b59eabc6 100644 --- a/include/boost/mysql/row.hpp +++ b/include/boost/mysql/row.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_ROW_HPP -#define MYSQL_ASIO_ROW_HPP +// +// Copyright (c) 2019-2020 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_ROW_HPP +#define BOOST_MYSQL_ROW_HPP #include "boost/mysql/detail/auxiliar/bytestring.hpp" #include "boost/mysql/detail/auxiliar/container_equals.hpp" diff --git a/include/boost/mysql/value.hpp b/include/boost/mysql/value.hpp index 2521ec15..827d451f 100644 --- a/include/boost/mysql/value.hpp +++ b/include/boost/mysql/value.hpp @@ -1,5 +1,12 @@ -#ifndef MYSQL_ASIO_VALUE_HPP -#define MYSQL_ASIO_VALUE_HPP +// +// Copyright (c) 2019-2020 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_VALUE_HPP +#define BOOST_MYSQL_VALUE_HPP #include #include diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4f323abd..6eae74f5 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019-2020 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) +# # GTest/GMock FetchContent_Declare( diff --git a/test/common/test_common.hpp b/test/common/test_common.hpp index 2e694e91..efe8b12c 100644 --- a/test/common/test_common.hpp +++ b/test/common/test_common.hpp @@ -1,5 +1,12 @@ -#ifndef TEST_TEST_COMMON_HPP_ -#define TEST_TEST_COMMON_HPP_ +// +// Copyright (c) 2019-2020 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_TEST_COMMON_COMMON_HPP +#define BOOST_MYSQL_TEST_COMMON_COMMON_HPP #include "boost/mysql/value.hpp" #include "boost/mysql/row.hpp" diff --git a/test/integration/close_statement.cpp b/test/integration/close_statement.cpp index 7dbd2fc4..5e57076c 100644 --- a/test/integration/close_statement.cpp +++ b/test/integration/close_statement.cpp @@ -1,9 +1,9 @@ -/* - * close_statement.cpp - * - * Created on: Feb 21, 2020 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "integration_test_common.hpp" diff --git a/test/integration/database_types.cpp b/test/integration/database_types.cpp index 1195cc21..323839a5 100644 --- a/test/integration/database_types.cpp +++ b/test/integration/database_types.cpp @@ -1,9 +1,9 @@ -/* - * query_types.cpp - * - * Created on: Dec 21, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "integration_test_common.hpp" #include "metadata_validator.hpp" diff --git a/test/integration/db_setup.sql b/test/integration/db_setup.sql index 02e9f8ba..8888eb93 100644 --- a/test/integration/db_setup.sql +++ b/test/integration/db_setup.sql @@ -1,3 +1,10 @@ +-- +-- Copyright (c) 2019-2020 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) +-- + -- Connection system variables SET NAMES utf8; SET global max_connections = 10000; diff --git a/test/integration/db_setup_sha256.sql b/test/integration/db_setup_sha256.sql index 47be1abf..a857c8ac 100644 --- a/test/integration/db_setup_sha256.sql +++ b/test/integration/db_setup_sha256.sql @@ -1,3 +1,9 @@ +-- +-- Copyright (c) 2019-2020 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) +-- -- Setup that requires the presence of SHA256 functionality DROP USER IF EXISTS 'csha2p_user'@'localhost'; diff --git a/test/integration/execute_statement.cpp b/test/integration/execute_statement.cpp index fcad1279..22484599 100644 --- a/test/integration/execute_statement.cpp +++ b/test/integration/execute_statement.cpp @@ -1,9 +1,9 @@ -/* - * execute_statement.cpp - * - * Created on: Feb 5, 2020 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "integration_test_common.hpp" #include diff --git a/test/integration/handshake.cpp b/test/integration/handshake.cpp index 48973ed8..0e653934 100644 --- a/test/integration/handshake.cpp +++ b/test/integration/handshake.cpp @@ -1,9 +1,9 @@ -/* - * handshake.cpp - * - * Created on: Oct 22, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include "integration_test_common.hpp" diff --git a/test/integration/integration_test_common.hpp b/test/integration/integration_test_common.hpp index 972a3601..dd0f8f4c 100644 --- a/test/integration/integration_test_common.hpp +++ b/test/integration/integration_test_common.hpp @@ -1,5 +1,12 @@ -#ifndef TEST_INTEGRATION_INTEGRATION_TEST_COMMON_HPP_ -#define TEST_INTEGRATION_INTEGRATION_TEST_COMMON_HPP_ +// +// Copyright (c) 2019-2020 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_TEST_INTEGRATION_INTEGRATION_TEST_COMMON_HPP +#define BOOST_MYSQL_TEST_INTEGRATION_INTEGRATION_TEST_COMMON_HPP #include #include "boost/mysql/connection.hpp" diff --git a/test/integration/metadata_validator.cpp b/test/integration/metadata_validator.cpp index b54344fd..179bcd78 100644 --- a/test/integration/metadata_validator.cpp +++ b/test/integration/metadata_validator.cpp @@ -1,9 +1,9 @@ -/* - * metadata_validator.cpp - * - * Created on: Nov 17, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "metadata_validator.hpp" #include diff --git a/test/integration/metadata_validator.hpp b/test/integration/metadata_validator.hpp index 42da83f3..f46b2e33 100644 --- a/test/integration/metadata_validator.hpp +++ b/test/integration/metadata_validator.hpp @@ -1,5 +1,12 @@ -#ifndef TEST_INTEGRATION_METADATA_VALIDATOR_HPP_ -#define TEST_INTEGRATION_METADATA_VALIDATOR_HPP_ +// +// Copyright (c) 2019-2020 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_TEST_INTEGRATION_METADATA_VALIDATOR_HPP +#define BOOST_MYSQL_TEST_INTEGRATION_METADATA_VALIDATOR_HPP #include "boost/mysql/metadata.hpp" #include diff --git a/test/integration/network_functions.cpp b/test/integration/network_functions.cpp index 4bc797b2..fd9cf559 100644 --- a/test/integration/network_functions.cpp +++ b/test/integration/network_functions.cpp @@ -1,3 +1,10 @@ +// +// Copyright (c) 2019-2020 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) +// + #include "network_functions.hpp" #include #include diff --git a/test/integration/network_functions.hpp b/test/integration/network_functions.hpp index 21e56f3c..0ee67ac0 100644 --- a/test/integration/network_functions.hpp +++ b/test/integration/network_functions.hpp @@ -1,5 +1,12 @@ - #ifndef TEST_INTEGRATION_NETWORK_FUNCTIONS_HPP_ -#define TEST_INTEGRATION_NETWORK_FUNCTIONS_HPP_ +// +// Copyright (c) 2019-2020 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_TEST_INTEGRATION_NETWORK_FUNCTIONS_HPP +#define BOOST_MYSQL_TEST_INTEGRATION_NETWORK_FUNCTIONS_HPP #include "boost/mysql/connection.hpp" #include "test_common.hpp" diff --git a/test/integration/prepare_statement.cpp b/test/integration/prepare_statement.cpp index 6ad97342..c344e294 100644 --- a/test/integration/prepare_statement.cpp +++ b/test/integration/prepare_statement.cpp @@ -1,9 +1,9 @@ -/* - * prepare_statement.cpp - * - * Created on: Feb 5, 2020 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "integration_test_common.hpp" diff --git a/test/integration/prepared_statement_lifecycle.cpp b/test/integration/prepared_statement_lifecycle.cpp index e7f2ad66..608a2a12 100644 --- a/test/integration/prepared_statement_lifecycle.cpp +++ b/test/integration/prepared_statement_lifecycle.cpp @@ -1,9 +1,9 @@ - /* - * prepared_statement_lifecycle.cpp - * - * Created on: Feb 18, 2020 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "integration_test_common.hpp" diff --git a/test/integration/query.cpp b/test/integration/query.cpp index 305ade5e..5eba8f30 100644 --- a/test/integration/query.cpp +++ b/test/integration/query.cpp @@ -1,9 +1,9 @@ -/* - * query.cpp - * - * Created on: Nov 11, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/connection.hpp" #include // for EXPECT_THAT() diff --git a/test/integration/resultset.cpp b/test/integration/resultset.cpp index ab3c8db3..61fe8145 100644 --- a/test/integration/resultset.cpp +++ b/test/integration/resultset.cpp @@ -1,9 +1,9 @@ -/* - * resultset.cpp - * - * Created on: Feb 5, 2020 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "integration_test_common.hpp" #include diff --git a/test/unit/detail/auth/auth_calculator.cpp b/test/unit/detail/auth/auth_calculator.cpp index 03ed7627..3ed2fee2 100644 --- a/test/unit/detail/auth/auth_calculator.cpp +++ b/test/unit/detail/auth/auth_calculator.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/detail/auth/auth_calculator.hpp" #include "test_common.hpp" diff --git a/test/unit/detail/protocol/binary_deserialization.cpp b/test/unit/detail/protocol/binary_deserialization.cpp index 685a0ff2..726e407d 100644 --- a/test/unit/detail/protocol/binary_deserialization.cpp +++ b/test/unit/detail/protocol/binary_deserialization.cpp @@ -1,9 +1,9 @@ -/* - * deserialize_row.cpp - * - * Created on: Nov 8, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include #include "boost/mysql/detail/protocol/binary_deserialization.hpp" diff --git a/test/unit/detail/protocol/capabilities.cpp b/test/unit/detail/protocol/capabilities.cpp index dba8e81e..f40f9479 100644 --- a/test/unit/detail/protocol/capabilities.cpp +++ b/test/unit/detail/protocol/capabilities.cpp @@ -1,9 +1,9 @@ -/* - * capabilities.cpp - * - * Created on: Oct 21, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/detail/protocol/capabilities.hpp" #include diff --git a/test/unit/detail/protocol/channel.cpp b/test/unit/detail/protocol/channel.cpp index 339c3947..7c347775 100644 --- a/test/unit/detail/protocol/channel.cpp +++ b/test/unit/detail/protocol/channel.cpp @@ -1,9 +1,9 @@ -/* - * mysql_stream.cpp - * - * Created on: Oct 6, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include #include diff --git a/test/unit/detail/protocol/common_messages.cpp b/test/unit/detail/protocol/common_messages.cpp index 00876556..eb286594 100644 --- a/test/unit/detail/protocol/common_messages.cpp +++ b/test/unit/detail/protocol/common_messages.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "serialization_test_common.hpp" #include "boost/mysql/detail/protocol/common_messages.hpp" diff --git a/test/unit/detail/protocol/handshake_messages.cpp b/test/unit/detail/protocol/handshake_messages.cpp index 7eb9cf38..2ac71e66 100644 --- a/test/unit/detail/protocol/handshake_messages.cpp +++ b/test/unit/detail/protocol/handshake_messages.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "serialization_test_common.hpp" #include "boost/mysql/detail/protocol/handshake_messages.hpp" diff --git a/test/unit/detail/protocol/null_bitmap_traits.cpp b/test/unit/detail/protocol/null_bitmap_traits.cpp index 5984c848..b7d43cd2 100644 --- a/test/unit/detail/protocol/null_bitmap_traits.cpp +++ b/test/unit/detail/protocol/null_bitmap_traits.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include #include diff --git a/test/unit/detail/protocol/prepared_statement_messages.cpp b/test/unit/detail/protocol/prepared_statement_messages.cpp index 45a1ef29..17256e92 100644 --- a/test/unit/detail/protocol/prepared_statement_messages.cpp +++ b/test/unit/detail/protocol/prepared_statement_messages.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "serialization_test_common.hpp" #include "boost/mysql/detail/protocol/prepared_statement_messages.hpp" diff --git a/test/unit/detail/protocol/query_messages.cpp b/test/unit/detail/protocol/query_messages.cpp index 8b7901ed..75518c8c 100644 --- a/test/unit/detail/protocol/query_messages.cpp +++ b/test/unit/detail/protocol/query_messages.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "serialization_test_common.hpp" #include "boost/mysql/detail/protocol/query_messages.hpp" diff --git a/test/unit/detail/protocol/serialization.cpp b/test/unit/detail/protocol/serialization.cpp index 138ed59c..73fc6b33 100644 --- a/test/unit/detail/protocol/serialization.cpp +++ b/test/unit/detail/protocol/serialization.cpp @@ -1,9 +1,9 @@ -/* - * deserialization.cpp - * - * Created on: Jun 29, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "serialization_test_common.hpp" #include "test_common.hpp" diff --git a/test/unit/detail/protocol/serialization_test_common.cpp b/test/unit/detail/protocol/serialization_test_common.cpp index 38cbbf74..3373d410 100644 --- a/test/unit/detail/protocol/serialization_test_common.cpp +++ b/test/unit/detail/protocol/serialization_test_common.cpp @@ -1,3 +1,9 @@ +// +// Copyright (c) 2019-2020 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) +// #include "serialization_test_common.hpp" diff --git a/test/unit/detail/protocol/serialization_test_common.hpp b/test/unit/detail/protocol/serialization_test_common.hpp index 8e039b78..95a14c7f 100644 --- a/test/unit/detail/protocol/serialization_test_common.hpp +++ b/test/unit/detail/protocol/serialization_test_common.hpp @@ -1,5 +1,12 @@ -#ifndef TEST_SERIALIZATION_TEST_COMMON_HPP_ -#define TEST_SERIALIZATION_TEST_COMMON_HPP_ +// +// Copyright (c) 2019-2020 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_TEST_UNIT_DETAIL_PROTOCOL_SERIALIZATION_TEST_COMMON_HPP +#define BOOST_MYSQL_TEST_UNIT_DETAIL_PROTOCOL_SERIALIZATION_TEST_COMMON_HPP #include "boost/mysql/detail/protocol/serialization.hpp" #include "boost/mysql/detail/protocol/constants.hpp" diff --git a/test/unit/detail/protocol/text_deserialization.cpp b/test/unit/detail/protocol/text_deserialization.cpp index 74eb4f07..0f038074 100644 --- a/test/unit/detail/protocol/text_deserialization.cpp +++ b/test/unit/detail/protocol/text_deserialization.cpp @@ -1,9 +1,9 @@ -/* - * deserialize_row.cpp - * - * Created on: Nov 8, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include #include "boost/mysql/detail/protocol/text_deserialization.hpp" diff --git a/test/unit/error.cpp b/test/unit/error.cpp index a42118d6..dbe1bba2 100644 --- a/test/unit/error.cpp +++ b/test/unit/error.cpp @@ -1,9 +1,9 @@ -/* - * error.cpp - * - * Created on: Jan 19, 2020 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include #include "boost/mysql/error.hpp" diff --git a/test/unit/metadata.cpp b/test/unit/metadata.cpp index 60a3a82c..7f81ca2f 100644 --- a/test/unit/metadata.cpp +++ b/test/unit/metadata.cpp @@ -1,9 +1,9 @@ -/* - * metadata.cpp - * - * Created on: Oct 27, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "boost/mysql/metadata.hpp" #include diff --git a/test/unit/prepared_statement.cpp b/test/unit/prepared_statement.cpp index ac3b91ad..61d4e2f5 100644 --- a/test/unit/prepared_statement.cpp +++ b/test/unit/prepared_statement.cpp @@ -1,9 +1,9 @@ -/* - * prepared_statement.cpp - * - * Created on: Feb 5, 2020 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include "test_common.hpp" #include "boost/mysql/prepared_statement.hpp" diff --git a/test/unit/row.cpp b/test/unit/row.cpp index 49cc0b99..b34efd1e 100644 --- a/test/unit/row.cpp +++ b/test/unit/row.cpp @@ -1,9 +1,9 @@ -/* - * row.cpp - * - * Created on: Dec 7, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include #include "boost/mysql/row.hpp" diff --git a/test/unit/value.cpp b/test/unit/value.cpp index 8c30744c..0043e70d 100644 --- a/test/unit/value.cpp +++ b/test/unit/value.cpp @@ -1,9 +1,9 @@ -/* - * value.cpp - * - * Created on: Dec 7, 2019 - * Author: ruben - */ +// +// Copyright (c) 2019-2020 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) +// #include #include diff --git a/tools/run_sql.py b/tools/run_sql.py index 10a4db45..eb654693 100644 --- a/tools/run_sql.py +++ b/tools/run_sql.py @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019-2020 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) +# from subprocess import run import os