diff options
author | Max Kellermann <max@duempel.org> | 2008-08-28 20:03:02 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-01 18:35:18 -0700 |
commit | 9cf1bf0671950024a21918335ab82ce9ef24cbf7 (patch) | |
tree | 7c637cf24a36932c926e5d1c078ea8c37c17c15d /src/client.h | |
parent | ea2592efafb903bd8afb362daab8f3ae9b3a86c3 (diff) | |
download | mpd-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 'src/client.h')
-rw-r--r-- | src/client.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client.h b/src/client.h index c83381319..64639b2af 100644 --- a/src/client.h +++ b/src/client.h @@ -21,12 +21,12 @@ #include "os_compat.h" -void initInterfaces(void); -void openAInterface(int fd, const struct sockaddr *addr); -void freeAllInterfaces(void); -void closeOldInterfaces(void); -int interfacePrintWithFD(int fd, const char *buffer, size_t len); +void client_manager_init(void); +void client_new(int fd, const struct sockaddr *addr); +void client_manager_deinit(void); +void client_manager_expire(void); +int client_print(int fd, const char *buffer, size_t len); -int doIOForInterfaces(void); +int client_manager_io(void); #endif |