aboutsummaryrefslogtreecommitdiff
path: root/src/common/url.h
blob: 7bbd8b60de3c9bb76f1d3d6d4bb63ff4c170841b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2015-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#ifndef BITCOIN_COMMON_URL_H
#define BITCOIN_COMMON_URL_H

#include <string>

using UrlDecodeFn = std::string(const std::string& url_encoded);
UrlDecodeFn urlDecode;
extern UrlDecodeFn* const URL_DECODE;

#endif // BITCOIN_COMMON_URL_H