diff options
author | PaulK <contact@paulk.fr> | 2011-12-25 23:36:45 +0100 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2011-12-25 23:36:45 +0100 |
commit | b3ae1307d322ad481de85203f1b5e06361815680 (patch) | |
tree | af34c6898fa59c437db87d876dd44294bdd97e1a /samsung-ipc/ipc.c | |
parent | fb3cb9b28bab88d69792f7032d29248e4a9ff55b (diff) | |
download | external_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.zip external_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.tar.gz external_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.tar.bz2 |
Added RFS headers and RECV function for crespo
Diffstat (limited to 'samsung-ipc/ipc.c')
-rw-r--r-- | samsung-ipc/ipc.c | 7 |
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; |