diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:37:11 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-29 09:37:11 +0200 |
commit | 8811c0e05943edbcb3d7203ef4f61ec89423718a (patch) | |
tree | 666d7e4ecd907f3a7d4c648085ec655efda9aa38 /src/command.h | |
parent | 8b1b82b36374e95bcef8195fcd15e4014e73567d (diff) | |
download | mpd-8811c0e05943edbcb3d7203ef4f61ec89423718a.tar.gz mpd-8811c0e05943edbcb3d7203ef4f61ec89423718a.tar.xz mpd-8811c0e05943edbcb3d7203ef4f61ec89423718a.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/command.h | 3 |
1 files changed, 1 insertions, 2 deletions
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, |