summaryrefslogtreecommitdiff
path: root/src/Listen.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-29 23:53:52 +0100
committerMax Kellermann <max@musicpd.org>2018-01-29 23:53:52 +0100
commit7d16d8c8871b628244c5110103c7220940092462 (patch)
tree2b3010c6de46ba62800456ce5386155fd22a9741 /src/Listen.hxx
parent1df5c5a76e5dbec19553b92130a66a8221e31dda (diff)
Listen: move ClientListener pointer to struct Partition
Diffstat (limited to 'src/Listen.hxx')
-rw-r--r--src/Listen.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Listen.hxx b/src/Listen.hxx
index f5766e1aa..c5d2ebbb8 100644
--- a/src/Listen.hxx
+++ b/src/Listen.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2017 The Music Player Daemon Project
+ * Copyright 2003-2018 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -20,15 +20,11 @@
#ifndef MPD_LISTEN_HXX
#define MPD_LISTEN_HXX
-class EventLoop;
-struct Partition;
+class ClientListener;
extern int listen_port;
void
-listen_global_init(EventLoop &loop, Partition &partition);
-
-void
-listen_global_finish();
+listen_global_init(ClientListener &listener);
#endif