X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/237f834a52db0d12c85f70c5e65f48ec1923d00a..65e7a8547ba44041cf6d0045b133e5263308cbd9:/stglibs/common.lib/include/stg/common.h diff --git a/stglibs/common.lib/include/stg/common.h b/stglibs/common.lib/include/stg/common.h index 41cdfa56..90bd639d 100644 --- a/stglibs/common.lib/include/stg/common.h +++ b/stglibs/common.lib/include/stg/common.h @@ -99,8 +99,8 @@ std::string & TrimR(std::string & val); std::string & Trim(std::string & val); std::string Trim(const std::string & val); -std::string ToLower(const std::string & value); -std::string ToUpper(const std::string & value); +std::string ToLower(std::string value); +std::string ToUpper(std::string value); template inline @@ -157,6 +157,8 @@ bool WaitPackets(int sd); bool ReadAll(int sd, void * dest, size_t size); bool WriteAll(int sd, const void * source, size_t size); +std::string ToPrintable(const std::string & src); + //----------------------------------------------------------------------------- int str2x(const std::string & str, int32_t & x); int str2x(const std::string & str, uint32_t & x);