From 8811c0e05943edbcb3d7203ef4f61ec89423718a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2008 09:37:11 +0200 Subject: export the function client_is_expired() Instead of passing the pointer to the "expired" flag to processListOfCommands(), this function should use the client API to check this flag. We can now remove the "global_expired" hack introduced recently. --- src/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index db4bc2023..dc67c044f 100644 --- a/src/client.h +++ b/src/client.h @@ -37,6 +37,8 @@ void client_new(int fd, const struct sockaddr *addr); */ int client_get_fd(struct client *client); +int client_is_expired(const struct client *client); + int client_print(int fd, const char *buffer, size_t len); #endif -- cgit v1.2.3