upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/proxy.h
diff options
context:
space:
mode:
authorNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-11 16:03:12 -0300
committerNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-11 16:03:12 -0300
commit6092e1e7da199d6c15b9548d5d4cebcf8babfdcf (patch)
treec5870b95d13abe80d1350f0a028f6f658b61b3ae /src/proxy.h
parent066379ebcb1dac720221fe1a1841fa6f59df21d9 (diff)
net: add Tor mode for outbound discovery
Diffstat (limited to 'src/proxy.h')
-rw-r--r--src/proxy.h3
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 @@
21bool BtfParseSocks5Proxy(const std::string& spec, std::string& hostOut, 21bool BtfParseSocks5Proxy(const std::string& spec, std::string& hostOut,
22 unsigned short& portOut, std::string& errOut); 22 unsigned short& portOut, std::string& errOut);
23bool BtfSetSocks5Proxy(const std::string& spec, std::string& errOut); 23bool BtfSetSocks5Proxy(const std::string& spec, std::string& errOut);
24bool BtfEnableTorProxy(const std::string& spec, std::string& errOut);
24void BtfClearSocks5Proxy(); 25void BtfClearSocks5Proxy();
25bool BtfSocks5ProxyEnabled(); 26bool BtfSocks5ProxyEnabled();
27bool BtfTorProxyEnabled();
28bool BtfIsTorOnionHost(const std::string& host);
26std::string BtfSocks5ProxyName(); 29std::string BtfSocks5ProxyName();
27 30
28SOCKET BtfConnectSocket(const std::string& destHost, unsigned short destPort, 31SOCKET BtfConnectSocket(const std::string& destHost, unsigned short destPort,