From 17faf562629cd27f00fc138e218ebcc1ce071765 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Sat, 2 Nov 2013 05:27:42 +1000 Subject: Refactor: pull alert string sanitization into util --- src/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index e52e6986b5..7fae5cc7ec 100644 --- a/src/util.h +++ b/src/util.h @@ -175,6 +175,7 @@ void ParseString(const std::string& str, char c, std::vector& v); std::string FormatMoney(int64_t n, bool fPlus=false); bool ParseMoney(const std::string& str, int64_t& nRet); bool ParseMoney(const char* pszIn, int64_t& nRet); +std::string SanitizeString(const std::string& str); std::vector ParseHex(const char* psz); std::vector ParseHex(const std::string& str); bool IsHex(const std::string& str); -- cgit v1.2.3