aboutsummaryrefslogtreecommitdiff
path: root/src/net/socks.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-04 21:20:33 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-04 21:20:34 +0200
commit4466f4504e8bc41d353a6becce0526df8272bc1d (patch)
treef22a1a5bf61c24b596f8f070017403dc639c34a6 /src/net/socks.h
parentMerge pull request #5084 (diff)
parenti2p: initial support (diff)
downloadmonero-4466f4504e8bc41d353a6becce0526df8272bc1d.tar.xz
Merge pull request #5091
123fc2a2 i2p: initial support (Jethro Grassie)
Diffstat (limited to 'src/net/socks.h')
-rw-r--r--src/net/socks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/socks.h b/src/net/socks.h
index d29a51ccb..825937792 100644
--- a/src/net/socks.h
+++ b/src/net/socks.h
@@ -155,6 +155,9 @@ namespace socks
//! Try to set `address` as remote Tor hidden service connection request.
bool set_connect_command(const net::tor_address& address);
+ //! Try to set `address` as remote i2p hidden service connection request.
+ bool set_connect_command(const net::i2p_address& address);
+
//! Try to set `domain` as remote DNS A record lookup request.
bool set_resolve_command(boost::string_ref domain);