summaryrefslogtreecommitdiff
path: root/src/lib/server_finder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-17 22:50:45 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-17 22:50:45 +0000
commit2af7c2d9d839fb43d96e1373deff2c68721e425f (patch)
tree07819da969a29a3470631c5797d35066277b1903 /src/lib/server_finder.h
parent03743d3230e373dbf4aa356445ac6486ed6f34bd (diff)
Make specified-server discovery work.
Diffstat (limited to 'src/lib/server_finder.h')
-rw-r--r--src/lib/server_finder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/server_finder.h b/src/lib/server_finder.h
index f964d4e1a..01e26f7df 100644
--- a/src/lib/server_finder.h
+++ b/src/lib/server_finder.h
@@ -37,6 +37,8 @@ private:
void broadcast_thread ();
void listen_thread ();
+ bool server_found (std::string) const;
+
boost::signals2::signal<void (ServerDescription)> ServerFound;
bool _disabled;
@@ -47,7 +49,7 @@ private:
boost::thread* _listen_thread;
std::list<ServerDescription> _servers;
- boost::mutex _mutex;
+ mutable boost::mutex _mutex;
static ServerFinder* _instance;
};