diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/erebos/network.h | 3 |
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: |