diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2021-07-09 13:22:35 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2021-07-28 13:19:02 +0300 |
commit | d61cc219f6bd3c4ffc96239893a8ded9b5a83b30 (patch) | |
tree | 4ac3c1b1ed0ede9b347e27b262f939213146a221 /lib/client.c | |
parent | a2a3f6912e60c7932bad87a6d2249f0e83e637e1 (diff) |
lib: remove dependency on spa_pod and spa in general
Replace spa_pod with a custom icipc_data structure, which is based
on spa_pod and it's fully compatible with it
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Diffstat (limited to 'lib/client.c')
-rw-r--r-- | lib/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/client.c b/lib/client.c index 4186ce4..f1c4da1 100644 --- a/lib/client.c +++ b/lib/client.c @@ -40,7 +40,7 @@ void icipc_client_free(struct icipc_client *self) { bool icipc_client_send_request( struct icipc_client *self, const char *name, - const struct spa_pod *args, + const struct icipc_data *args, icipc_sender_reply_func_t reply, void *data) { struct icipc_sender *base = icipc_client_to_sender(self); @@ -55,7 +55,7 @@ bool icipc_client_send_request( return icipc_sender_send(base, buffer, size, reply, data); } -const struct spa_pod *icipc_client_send_request_finish( +const struct icipc_data *icipc_client_send_request_finish( struct icipc_sender *self, const uint8_t * buffer, size_t size, @@ -68,7 +68,7 @@ const struct spa_pod *icipc_client_send_request_finish( /* ok */ if (icipc_protocol_is_reply_ok(buffer, size)) { - const struct spa_pod *value = NULL; + const struct icipc_data *value = NULL; if (icipc_protocol_parse_reply_ok(buffer, size, &value)) return value; } |