diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-04-11 18:47:17 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-05 04:45:59 +0300 |
commit | 917ca93553917251e0fd59717a347c63cdfd8a14 (patch) | |
tree | 6dd3c84f09109c1da19d1a23e798a32efdafa9a9 /src/net.h | |
parent | 23b9fa2e5ec0425980301d2eebad81e660a5ea39 (diff) |
Make ThreadSafe{MessageBox|Question} bilingual
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,8 +21,8 @@ #include <random.h> #include <streams.h> #include <sync.h> -#include <uint256.h> #include <threadinterrupt.h> +#include <uint256.h> #include <atomic> #include <deque> @@ -39,6 +39,7 @@ class CScheduler; class CNode; class BanMan; +struct bilingual_str; /** Default for -whitelistrelay. */ static const bool DEFAULT_WHITELISTRELAY = true; @@ -334,7 +335,7 @@ private: NetPermissionFlags m_permissions; }; - bool BindListenPort(const CService& bindAddr, std::string& strError, NetPermissionFlags permissions); + bool BindListenPort(const CService& bindAddr, bilingual_str& strError, NetPermissionFlags permissions); bool Bind(const CService& addr, unsigned int flags, NetPermissionFlags permissions); bool InitBinds(const std::vector<CService>& binds, const std::vector<NetWhitebindPermissions>& whiteBinds); void ThreadOpenAddedConnections(); |