Listen: move ClientListener pointer to struct Partition

This commit is contained in:
Max Kellermann
2018-01-29 23:53:52 +01:00
parent 1df5c5a76e
commit 7d16d8c887
5 changed files with 33 additions and 49 deletions

View File

@@ -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