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_".
This commit is contained in:
Max Kellermann
2008-08-28 20:03:02 +02:00
parent 6d18e00099
commit c0197c58ba
6 changed files with 19 additions and 19 deletions

View File

@@ -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();