From b3ae1307d322ad481de85203f1b5e06361815680 Mon Sep 17 00:00:00 2001 From: PaulK Date: Sun, 25 Dec 2011 23:36:45 +0100 Subject: Added RFS headers and RECV function for crespo --- samsung-ipc/ipc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'samsung-ipc/ipc.c') diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index 511d7d8..77e5d97 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -29,7 +29,8 @@ #include "ipc_private.h" -extern struct ipc_ops ipc_ops; +extern struct ipc_ops ipc_fmt_ops; +extern struct ipc_ops ipc_rfs_ops; extern struct ipc_handlers ipc_default_handlers; void log_handler_default(const char *message, void *user_data) @@ -58,8 +59,10 @@ struct ipc_client* ipc_client_new(int client_type) switch (client_type) { case IPC_CLIENT_TYPE_FMT: + ops = &ipc_fmt_ops; + break; case IPC_CLIENT_TYPE_RFS: - ops = &ipc_ops; + ops = &ipc_rfs_ops; break; default: return NULL; -- cgit v1.2.3