A C++ wrapper for the basic C datatypes defined by the pEpEngine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
534 B

// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPDATATYPES_CRLF_HH
#define LIBPEPDATATYPES_CRLF_HH
#include <string>
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