diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-11-02 05:27:42 +1000 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-11-28 11:03:33 +1000 |
commit | 56ce843314f542bcfdc10fa8367aeeb08cdb5c4c (patch) | |
tree | 97880b88babcd72a3df88cd9b94451e9dd501495 /src/util.h | |
parent | e564297156b9103c5af85f6b444df0bdc2476397 (diff) | |
download | bitcoin-56ce843314f542bcfdc10fa8367aeeb08cdb5c4c.tar.xz |
Refactor: pull alert string sanitization into util
Rebased-from: 17faf562629cd27f00fc138e218ebcc1ce071765
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 8c6c4bd205..a190a3b5da 100644 --- a/src/util.h +++ b/src/util.h @@ -187,6 +187,7 @@ void ParseString(const std::string& str, char c, std::vector<std::string>& v); std::string FormatMoney(int64 n, bool fPlus=false); bool ParseMoney(const std::string& str, int64& nRet); bool ParseMoney(const char* pszIn, int64& 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); |