aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:03:02 +0200
committerMax Kellermann <max@duempel.org>2008-08-28 20:03:02 +0200
commitc0197c58bae666ddf596d0f585cb419083cd3300 (patch)
treefd979de8026a50f4663739f713a68d6ad38caae1 /src/client.h
parent6d18e0009926773464b2749f9e39e0785ea87269 (diff)
downloadmpd-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 '')
-rw-r--r--src/client.h12
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