diff options
| author | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-11 16:03:12 -0300 |
|---|---|---|
| committer | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-11 16:03:12 -0300 |
| commit | 6092e1e7da199d6c15b9548d5d4cebcf8babfdcf (patch) | |
| tree | c5870b95d13abe80d1350f0a028f6f658b61b3ae /src/proxy.h | |
| parent | 066379ebcb1dac720221fe1a1841fa6f59df21d9 (diff) | |
net: add Tor mode for outbound discovery
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, |