From 9cf1bf0671950024a21918335ab82ce9ef24cbf7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Aug 2008 20:03:02 +0200 Subject: 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_". --- src/client.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/client.h') 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 -- cgit v1.2.3