summaryrefslogtreecommitdiff
path: root/include/erebos/network.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-05-23 22:11:42 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-05-23 22:32:01 +0200
commit15ad6ae7bd64d8d7319d75dbbb0827addd22fef2 (patch)
treec5f7ac828f4c1d5f51c461ad332b83e570ce3b26 /include/erebos/network.h
parentfce349f8f1c53d3e205a8d86b79784fdfd2b7b7a (diff)
Message sending to identity or contact
Diffstat (limited to 'include/erebos/network.h')
-rw-r--r--include/erebos/network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/erebos/network.h b/include/erebos/network.h
index 66edfa4..6a3112a 100644
--- a/include/erebos/network.h
+++ b/include/erebos/network.h
@@ -34,6 +34,7 @@ public:
template<class S> S & svc();
class PeerList & peerList() const;
+ optional<erebos::Peer> peer(const Identity &) const;
void addPeer(const string & node) const;
void addPeer(const string & node, const string & service) const;