diff options
Diffstat (limited to 'lib/server.c')
-rw-r--r-- | lib/server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/server.c b/lib/server.c index 747b829..6229ecd 100644 --- a/lib/server.c +++ b/lib/server.c @@ -7,6 +7,7 @@ */ #include <pthread.h> +#include <string.h> #include "private.h" #include "protocol.h" @@ -60,7 +61,7 @@ static bool handle_message( void *data) { ServerPriv *priv = icipc_receiver_get_user_data(base); const char *name = NULL; - const struct spa_pod *args = NULL; + const struct icipc_data *args = NULL; icipc_log_info("server: message from client %d received", sender_fd); @@ -231,7 +232,7 @@ void icipc_server_clear_request_handler( bool icipc_server_reply_ok( struct icipc_server *self, int client_fd, - const struct spa_pod *value) { + const struct icipc_data *value) { const size_t s = icipc_protocol_calculate_reply_ok_size(value); uint8_t b[s]; icipc_protocol_build_reply_ok(b, s, value); |