diff options
| author | Bitflash <admin@bitflash.network> | 2026-08-12 10:22:23 -0300 |
|---|---|---|
| committer | Bitflash <admin@bitflash.network> | 2026-08-12 10:22:23 -0300 |
| commit | d0ebe648f333def99fababd65f6b929448616d56 (patch) | |
| tree | c7ccaa28b9f83abd077ba90c031632deda83c80a /src/proxy.h | |
| parent | c330b8e5e1c057049b5b361908c94f41344dff80 (diff) | |
| parent | a0a300c240c91fa0c1cd1dc60ff5420a89cc33f8 (diff) | |
Merge pull request 'net: add Tor mode for outbound discovery' (#28) from tor-mode into main
Diffstat (limited to 'src/proxy.h')
| -rw-r--r-- | src/proxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proxy.h b/src/proxy.h index b5e69c8..6429cf2 100644 --- a/src/proxy.h +++ b/src/proxy.h | |||
| @@ -21,8 +21,11 @@ | |||
| 21 | bool BtfParseSocks5Proxy(const std::string& spec, std::string& hostOut, | 21 | bool BtfParseSocks5Proxy(const std::string& spec, std::string& hostOut, |
| 22 | unsigned short& portOut, std::string& errOut); | 22 | unsigned short& portOut, std::string& errOut); |
| 23 | bool BtfSetSocks5Proxy(const std::string& spec, std::string& errOut); | 23 | bool BtfSetSocks5Proxy(const std::string& spec, std::string& errOut); |
| 24 | bool BtfEnableTorProxy(const std::string& spec, std::string& errOut); | ||
| 24 | void BtfClearSocks5Proxy(); | 25 | void BtfClearSocks5Proxy(); |
| 25 | bool BtfSocks5ProxyEnabled(); | 26 | bool BtfSocks5ProxyEnabled(); |
| 27 | bool BtfTorProxyEnabled(); | ||
| 28 | bool BtfIsTorOnionHost(const std::string& host); | ||
| 26 | std::string BtfSocks5ProxyName(); | 29 | std::string BtfSocks5ProxyName(); |
| 27 | 30 | ||
| 28 | SOCKET BtfConnectSocket(const std::string& destHost, unsigned short destPort, | 31 | SOCKET BtfConnectSocket(const std::string& destHost, unsigned short destPort, |