summaryrefslogtreecommitdiff
path: root/include/erebos
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos')
-rw-r--r--include/erebos/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/erebos/network.h b/include/erebos/network.h
index ed31823..66edfa4 100644
--- a/include/erebos/network.h
+++ b/include/erebos/network.h
@@ -14,6 +14,7 @@ using std::vector;
using std::unique_ptr;
class ServerConfig;
+class Peer;
class Server
{
@@ -33,6 +34,8 @@ public:
template<class S> S & svc();
class PeerList & peerList() const;
+ void addPeer(const string & node) const;
+ void addPeer(const string & node, const string & service) const;
struct Peer;
private: