safe
[ghsmtp.git] / esc.hpp
blobe9033ac3c08a9cd925ddc33a52304a9e2179501d
1 #ifndef ESC_DOT_HPP
2 #define ESC_DOT_HPP
4 #include <string>
5 #include <string_view>
7 enum class esc_line_option : bool { single, multi };
8 std::string esc(std::string_view str,
9 esc_line_option line_option = esc_line_option::single);
11 #endif // ESC_DOT_HPP