Refactor: pull alert string sanitization into util

This commit is contained in:
Gavin Andresen
2013-11-02 05:27:42 +10:00
parent 0f90613cbe
commit 17faf56262
3 changed files with 15 additions and 9 deletions

View File

@@ -175,6 +175,7 @@ void ParseString(const std::string& str, char c, std::vector<std::string>& 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<unsigned char> ParseHex(const char* psz);
std::vector<unsigned char> ParseHex(const std::string& str);
bool IsHex(const std::string& str);