aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-11-02 05:27:42 +1000
committerGavin Andresen <gavinandresen@gmail.com>2013-11-11 10:22:45 +1000
commit17faf562629cd27f00fc138e218ebcc1ce071765 (patch)
tree16f48e9238955358df4d5e67bcdc7ad746f9db98 /src/util.h
parent0f90613cbe69dfa422e8802c63844f816c3ca588 (diff)
downloadbitcoin-17faf562629cd27f00fc138e218ebcc1ce071765.tar.xz
Refactor: pull alert string sanitization into util
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
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<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);