summaryrefslogtreecommitdiffstats
path: root/lib/server.h
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-09 13:22:35 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-28 13:19:02 +0300
commitd61cc219f6bd3c4ffc96239893a8ded9b5a83b30 (patch)
tree4ac3c1b1ed0ede9b347e27b262f939213146a221 /lib/server.h
parenta2a3f6912e60c7932bad87a6d2249f0e83e637e1 (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/server.h')
-rw-r--r--lib/server.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/server.h b/lib/server.h
index 6345035..cacb095 100644
--- a/lib/server.h
+++ b/lib/server.h
@@ -9,8 +9,6 @@
#ifndef __ICIPC_SERVER_H__
#define __ICIPC_SERVER_H__
-#include <spa/pod/pod.h>
-
#include "defs.h"
#include "receiver.h"
@@ -21,6 +19,7 @@ extern "C" {
#define icipc_server_to_receiver(self) ((struct icipc_receiver *)(self))
struct icipc_server;
+struct icipc_data;
typedef void (*icipc_server_client_handler_func_t)(
struct icipc_server *self,
@@ -32,7 +31,7 @@ typedef bool (*icipc_server_request_handler_func_t)(
struct icipc_server *self,
int client_fd,
const char *name,
- const struct spa_pod *args,
+ const struct icipc_data *args,
void *data);
ICIPC_API
@@ -68,7 +67,7 @@ ICIPC_API
bool icipc_server_reply_ok(
struct icipc_server *self,
int client_fd,
- const struct spa_pod *value);
+ const struct icipc_data *value);
ICIPC_API
bool icipc_server_reply_error(