aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientSubscribe.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientSubscribe.hxx')
-rw-r--r--src/ClientSubscribe.hxx12
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