aboutsummaryrefslogtreecommitdiff
path: root/src/util/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/url.h')
-rw-r--r--src/util/url.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/url.h b/src/util/url.h
index e9ea2ab765..be9f1c9e8a 100644
--- a/src/util/url.h
+++ b/src/util/url.h
@@ -7,6 +7,8 @@
#include <string>
-std::string urlDecode(const std::string &urlEncoded);
+using UrlDecodeFn = std::string(const std::string& url_encoded);
+UrlDecodeFn urlDecode;
+extern UrlDecodeFn* const URL_DECODE;
#endif // BITCOIN_UTIL_URL_H