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/command.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index 030e03767..d421b8746 100644 --- a/src/command.h +++ b/src/command.h @@ -29,8 +29,7 @@ struct client; -int processListOfCommands(struct client *client, - int *permission, int *expired, +int processListOfCommands(struct client *client, int *permission, int listOK, struct strnode *list); int processCommand(struct client *client, -- cgit v1.2.3