aboutsummaryrefslogtreecommitdiff
path: root/seatd/client.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-03 00:56:10 +0200
committerKenny Levinsen <kl@kl.wtf>2020-08-03 00:56:10 +0200
commita003e926001e42f01c257028df4ee294c8d23639 (patch)
treedbffef2b612e89483e6563ecf04ddd0ae030e714 /seatd/client.c
parent3e301b8e708e94be0512d8425c33c418a81e5cf7 (diff)
client: Prefix notification methods with 'send'
Diffstat (limited to 'seatd/client.c')
-rw-r--r--seatd/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/seatd/client.c b/seatd/client.c
index 4ac5414..5ec80ae 100644
--- a/seatd/client.c
+++ b/seatd/client.c
@@ -398,7 +398,7 @@ static int client_handle_opcode(struct client *client, uint16_t opcode, size_t s
return res;
}
-int client_disable_seat(struct client *client) {
+int client_send_disable_seat(struct client *client) {
struct proto_header header = {
.opcode = SERVER_DISABLE_SEAT,
.size = 0,
@@ -411,7 +411,7 @@ int client_disable_seat(struct client *client) {
return 0;
}
-int client_enable_seat(struct client *client) {
+int client_send_enable_seat(struct client *client) {
struct proto_header header = {
.opcode = SERVER_ENABLE_SEAT,
.size = 0,
@@ -473,7 +473,7 @@ fail:
return -1;
}
-int client_get_session(struct client *client) {
+int client_get_session(const struct client *client) {
if (client->seat == NULL || client->seat->active_client != client) {
return -1;
}