From a16b33031c7bcf2eabf1e0c3571000234b7740df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 24 Jan 2021 22:46:48 +0100 Subject: Attach service --- src/network.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/network.h') 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 check(ReplyBuilder &); }; -struct Server::Priv +struct Server::Priv : enable_shared_from_this { Priv(const Head & local, const Identity & self, vector> && svcs); ~Priv(); + + shared_ptr getptr(); + void doListen(); void doAnnounce(); -- cgit v1.2.3