Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-09 08:28:00

0001 //
0002 // Copyright (c) 2019-2024 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 
0008 #ifndef BOOST_MYSQL_DETAIL_ESCAPE_STRING_HPP
0009 #define BOOST_MYSQL_DETAIL_ESCAPE_STRING_HPP
0010 
0011 #include <boost/mysql/error_code.hpp>
0012 #include <boost/mysql/string_view.hpp>
0013 
0014 #include <boost/mysql/detail/config.hpp>
0015 #include <boost/mysql/detail/output_string.hpp>
0016 
0017 #include <boost/config.hpp>
0018 
0019 namespace boost {
0020 namespace mysql {
0021 
0022 // Forward decls
0023 struct format_options;
0024 
0025 namespace detail {
0026 
0027 BOOST_ATTRIBUTE_NODISCARD BOOST_MYSQL_DECL error_code
0028 escape_string(string_view input, const format_options& opts, char quote_char, output_string_ref output);
0029 
0030 }  // namespace detail
0031 }  // namespace mysql
0032 }  // namespace boost
0033 
0034 #ifdef BOOST_MYSQL_HEADER_ONLY
0035 #include <boost/mysql/impl/escape_string.ipp>
0036 #endif
0037 
0038 #endif