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/ClientSubscribe.hxx | |
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 'src/ClientSubscribe.hxx')
-rw-r--r-- | src/ClientSubscribe.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ClientSubscribe.hxx b/src/ClientSubscribe.hxx index 2f0f73291..9b62374a9 100644 --- a/src/ClientSubscribe.hxx +++ b/src/ClientSubscribe.hxx @@ -23,7 +23,7 @@ #include "gcc.h" typedef struct _GSList GSList; -struct client; +class Client; struct client_message; enum client_subscribe_result { @@ -41,19 +41,19 @@ enum client_subscribe_result { }; enum client_subscribe_result -client_subscribe(struct client *client, const char *channel); +client_subscribe(Client *client, const char *channel); bool -client_unsubscribe(struct client *client, const char *channel); +client_unsubscribe(Client *client, const char *channel); void -client_unsubscribe_all(struct client *client); +client_unsubscribe_all(Client *client); bool -client_push_message(struct client *client, const struct client_message *msg); +client_push_message(Client *client, const struct client_message *msg); gcc_malloc GSList * -client_read_messages(struct client *client); +client_read_messages(Client *client); #endif |