aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/ipc.c
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-12-25 23:36:45 +0100
committerPaulK <contact@paulk.fr>2011-12-25 23:36:45 +0100
commitb3ae1307d322ad481de85203f1b5e06361815680 (patch)
treeaf34c6898fa59c437db87d876dd44294bdd97e1a /samsung-ipc/ipc.c
parentfb3cb9b28bab88d69792f7032d29248e4a9ff55b (diff)
downloadhardware_replicant_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.tar.gz
hardware_replicant_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.tar.bz2
hardware_replicant_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.zip
Added RFS headers and RECV function for crespo
Diffstat (limited to 'samsung-ipc/ipc.c')
-rw-r--r--samsung-ipc/ipc.c7
1 files changed, 5 insertions, 2 deletions
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;