diff options
author | Max Kellermann <max@duempel.org> | 2013-01-03 17:27:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 17:36:28 +0100 |
commit | 7a982169c9dc3a673e922e7f3b9b73368cef0aae (patch) | |
tree | 7b9b28287d7ae934c0e75bd7f3b5f317ad7d2cac /src/Client.cxx | |
parent | f2510d60fad1c5811fba3d253ef1c8dabb712304 (diff) | |
download | mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.gz mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.xz mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.zip |
Client: rename the struct client to class Client
Diffstat (limited to '')
-rw-r--r-- | src/Client.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Client.cxx b/src/Client.cxx index 5214eabba..efb4125ac 100644 --- a/src/Client.cxx +++ b/src/Client.cxx @@ -20,22 +20,22 @@ #include "config.h" #include "ClientInternal.hxx" -bool client_is_expired(const struct client *client) +bool client_is_expired(const Client *client) { return client->channel == NULL; } -int client_get_uid(const struct client *client) +int client_get_uid(const Client *client) { return client->uid; } -unsigned client_get_permission(const struct client *client) +unsigned client_get_permission(const Client *client) { return client->permission; } -void client_set_permission(struct client *client, unsigned permission) +void client_set_permission(Client *client, unsigned permission) { client->permission = permission; } |