diff options
author | Max Kellermann <max@duempel.org> | 2008-08-28 20:03:02 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-28 20:03:02 +0200 |
commit | c0197c58bae666ddf596d0f585cb419083cd3300 (patch) | |
tree | fd979de8026a50f4663739f713a68d6ad38caae1 /src/main.c | |
parent | 6d18e0009926773464b2749f9e39e0785ea87269 (diff) | |
download | mpd-c0197c58bae666ddf596d0f585cb419083cd3300.tar.gz mpd-c0197c58bae666ddf596d0f585cb419083cd3300.tar.xz mpd-c0197c58bae666ddf596d0f585cb419083cd3300.zip |
client: renamed all public functions
Functions which operate on the whole client list are prefixed with
"client_manager_", and functions which handle just one client just get
"client_".
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c index 0c46a9db7..4ea4eafde 100644 --- a/src/main.c +++ b/src/main.c @@ -422,7 +422,7 @@ int main(int argc, char *argv[]) initAudioConfig(); initAudioDriver(); initVolume(); - initInterfaces(); + client_manager_init(); initReplayGainState(); initNormalization(); initInputStream(); @@ -441,17 +441,17 @@ int main(int argc, char *argv[]) player_create(); read_state_file(); - while (COMMAND_RETURN_KILL != doIOForInterfaces() && + while (COMMAND_RETURN_KILL != client_manager_io() && COMMAND_RETURN_KILL != handlePendingSignals()) { syncPlayerAndPlaylist(); - closeOldInterfaces(); + client_manager_expire(); readDirectoryDBIfUpdateIsFinished(); } write_state_file(); playerKill(); finishZeroconf(); - freeAllInterfaces(); + client_manager_deinit(); closeAllListenSockets(); finishPlaylist(); |