// This file is under GNU General Public License 3.0 // see LICENSE.txt #ifndef LIBPEPDATATYPES_CRLF_HH #define LIBPEPDATATYPES_CRLF_HH #include namespace pEp { // creates a string where \n ("linefeed" a.k.a. LF) are replaced // by \r\n ("carriage return + linefeed" a.k.a. CRLF). // Useful to define strings in NET-ASCII or Net-Unicode (RFC5198) format // from string literals. std::string operator""_CRLF(const char* str, size_t length); } // end of namespace pEp #endif // LIBPEPDATATYPES_CRLF_HH