deserialize_text_field.hpp 936 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. #ifndef BHO_MYSQL_IMPL_INTERNAL_PROTOCOL_DESERIALIZE_TEXT_FIELD_HPP
  8. #define BHO_MYSQL_IMPL_INTERNAL_PROTOCOL_DESERIALIZE_TEXT_FIELD_HPP
  9. #include <asio2/bho/mysql/field_view.hpp>
  10. #include <asio2/bho/mysql/metadata.hpp>
  11. #include <asio2/bho/mysql/detail/config.hpp>
  12. #include <asio2/bho/mysql/impl/internal/protocol/serialization.hpp>
  13. namespace bho {
  14. namespace mysql {
  15. namespace detail {
  16. BHO_MYSQL_DECL
  17. deserialize_errc deserialize_text_field(string_view from, const metadata& meta, field_view& output);
  18. } // namespace detail
  19. } // namespace mysql
  20. } // namespace bho
  21. #ifdef BHO_MYSQL_HEADER_ONLY
  22. #include <asio2/bho/mysql/impl/internal/protocol/deserialize_text_field.ipp>
  23. #endif
  24. #endif