pulse-server: split out reply, operation, client, stream

Part of !776.
This commit is contained in:
Barnabás Pőcze 2021-06-18 23:36:35 +02:00
parent b2ec1fb60a
commit 49d31ea0af
14 changed files with 1044 additions and 665 deletions

View file

@ -38,7 +38,7 @@ static int do_extension_stream_restore_test(struct client *client, uint32_t comm
message_put(reply,
TAG_U32, EXT_STREAM_RESTORE_VERSION,
TAG_INVALID);
return send_message(client, reply);
return client_queue_message(client, reply);
}
static int key_from_name(const char *name, char *key, size_t maxlen)
@ -187,7 +187,7 @@ static int do_extension_stream_restore_read(struct client *client, uint32_t comm
TAG_BOOLEAN, mute,
TAG_INVALID);
}
return send_message(client, reply);
return client_queue_message(client, reply);
}
static int do_extension_stream_restore_write(struct client *client, uint32_t command, uint32_t tag, struct message *m)