summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h
index c02dbc3..e22d453 100644
--- a/src/network.h
+++ b/src/network.h
@@ -134,11 +134,14 @@ struct WaitingRef
optional<Ref> check(ReplyBuilder &);
};
-struct Server::Priv
+struct Server::Priv : enable_shared_from_this<Server::Priv>
{
Priv(const Head<LocalState> & local, const Identity & self,
vector<unique_ptr<Service>> && svcs);
~Priv();
+
+ shared_ptr<Priv> getptr();
+
void doListen();
void doAnnounce();