aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:03:02 +0200
committerEric Wong <normalperson@yhbt.net>2008-09-01 18:35:18 -0700
commit9cf1bf0671950024a21918335ab82ce9ef24cbf7 (patch)
tree7c637cf24a36932c926e5d1c078ea8c37c17c15d /src/main.c
parentea2592efafb903bd8afb362daab8f3ae9b3a86c3 (diff)
downloadmpd-9cf1bf0671950024a21918335ab82ce9ef24cbf7.tar.gz
mpd-9cf1bf0671950024a21918335ab82ce9ef24cbf7.tar.xz
mpd-9cf1bf0671950024a21918335ab82ce9ef24cbf7.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 '')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 45dc962ce..363359831 100644
--- a/src/main.c
+++ b/src/main.c
@@ -415,7 +415,7 @@ int main(int argc, char *argv[])
initAudioConfig();
initAudioDriver();
initVolume();
- initInterfaces();
+ client_manager_init();
initReplayGainState();
initNormalization();
initInputStream();
@@ -435,17 +435,17 @@ int main(int argc, char *argv[])
decoder_init();
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();
ob_trigger_action(OB_ACTION_PAUSE_SET);
finishZeroconf();
- freeAllInterfaces();
+ client_manager_deinit();
closeAllListenSockets();
finishPlaylist();