aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 14:22:58 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 14:23:01 +0100
commit18c4b536f2ad721be5787f77176ef96298063bf2 (patch)
tree0765b96328f73b4b4878b9677808197d4ca99671 /src
parentfa51db449fdb9558a4cb4542a86437ac9dd3ddbd (diff)
downloadmpd-18c4b536f2ad721be5787f77176ef96298063bf2.tar.gz
mpd-18c4b536f2ad721be5787f77176ef96298063bf2.tar.xz
mpd-18c4b536f2ad721be5787f77176ef96298063bf2.zip
event/ServerSocket: add method GetEventLoop()
Diffstat (limited to '')
-rw-r--r--src/event/ServerSocket.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx
index ec922d97f..600cdf8a7 100644
--- a/src/event/ServerSocket.hxx
+++ b/src/event/ServerSocket.hxx
@@ -49,6 +49,10 @@ public:
ServerSocket(EventLoop &_loop);
~ServerSocket();
+ EventLoop &GetEventLoop() {
+ return loop;
+ }
+
private:
OneServerSocket &AddAddress(const sockaddr &address, size_t length);