aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-06-25 19:53:54 +0200
committerPaul Kocialkowski <contact@paulk.fr>2013-06-25 19:53:54 +0200
commitaf49aa6be86155889ecece92fae6f58a53fda49a (patch)
tree1e6329d05e389daa5bf5f5e4c7a7187f93e77647 /samsung-ipc
parent256df8e1a96ecbcf2beba771cf865207a3492a8c (diff)
downloadexternal_libsamsung-ipc-af49aa6be86155889ecece92fae6f58a53fda49a.zip
external_libsamsung-ipc-af49aa6be86155889ecece92fae6f58a53fda49a.tar.gz
external_libsamsung-ipc-af49aa6be86155889ecece92fae6f58a53fda49a.tar.bz2
Moved radio.h and types.h to samsung-ipc.h (API) and protocol.h (IPC protocol).
Also some minor headers cosmetics. Change-Id: Id2b988b118d956e91827b9b840e3f384424593ae Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc')
-rw-r--r--samsung-ipc/call.c2
-rw-r--r--samsung-ipc/device/aries/aries_ipc.c2
-rw-r--r--samsung-ipc/device/crespo/crespo_ipc.c2
-rw-r--r--samsung-ipc/device/xmm6260/xmm6260_ipc.c2
-rw-r--r--samsung-ipc/device/xmm6260/xmm6260_modemctl.h2
-rw-r--r--samsung-ipc/gen.c2
-rw-r--r--samsung-ipc/gprs.c2
-rw-r--r--samsung-ipc/ipc.c2
-rw-r--r--samsung-ipc/ipc_devices.c2
-rw-r--r--samsung-ipc/ipc_devices.h2
-rw-r--r--samsung-ipc/ipc_private.h2
-rw-r--r--samsung-ipc/ipc_util.c2
-rw-r--r--samsung-ipc/misc.c2
-rw-r--r--samsung-ipc/net.c2
-rw-r--r--samsung-ipc/rfs.c4
-rw-r--r--samsung-ipc/sec.c2
-rw-r--r--samsung-ipc/sms.c2
17 files changed, 18 insertions, 18 deletions
diff --git a/samsung-ipc/call.c b/samsung-ipc/call.c
index 62c391c..a12bbde 100644
--- a/samsung-ipc/call.c
+++ b/samsung-ipc/call.c
@@ -18,7 +18,7 @@
*
*/
-#include <radio.h>
+#include <samsung-ipc.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/samsung-ipc/device/aries/aries_ipc.c b/samsung-ipc/device/aries/aries_ipc.c
index cf49272..4f5bf42 100644
--- a/samsung-ipc/device/aries/aries_ipc.c
+++ b/samsung-ipc/device/aries/aries_ipc.c
@@ -40,7 +40,7 @@
#include <assert.h>
#include <string.h>
-#include <radio.h>
+#include <samsung-ipc.h>
#include "aries_ipc.h"
#include "ipc_private.h"
diff --git a/samsung-ipc/device/crespo/crespo_ipc.c b/samsung-ipc/device/crespo/crespo_ipc.c
index e932587..026bb1f 100644
--- a/samsung-ipc/device/crespo/crespo_ipc.c
+++ b/samsung-ipc/device/crespo/crespo_ipc.c
@@ -33,7 +33,7 @@
#include <mtd/mtd-abi.h>
#include <assert.h>
-#include <radio.h>
+#include <samsung-ipc.h>
#include <wakelock.h>
#include "crespo_modem_ctl.h"
diff --git a/samsung-ipc/device/xmm6260/xmm6260_ipc.c b/samsung-ipc/device/xmm6260/xmm6260_ipc.c
index 1052dce..99d4727 100644
--- a/samsung-ipc/device/xmm6260/xmm6260_ipc.c
+++ b/samsung-ipc/device/xmm6260/xmm6260_ipc.c
@@ -37,7 +37,7 @@
#include <mtd/mtd-abi.h>
#include <assert.h>
-#include <radio.h>
+#include <samsung-ipc.h>
#include <wakelock.h>
#include "ipc_private.h"
diff --git a/samsung-ipc/device/xmm6260/xmm6260_modemctl.h b/samsung-ipc/device/xmm6260/xmm6260_modemctl.h
index 76ef3fd..aab2acb 100644
--- a/samsung-ipc/device/xmm6260/xmm6260_modemctl.h
+++ b/samsung-ipc/device/xmm6260/xmm6260_modemctl.h
@@ -23,7 +23,7 @@
#ifndef __XMM6260_MODEMCTL_H__
#define __XMM6260_MODEMCTL_H__
-#include <radio.h>
+#include <samsung-ipc.h>
#define MODEM_DEVICE(x) ("/dev/" #x)
#define LINK_PM MODEM_DEVICE(link_pm)
diff --git a/samsung-ipc/gen.c b/samsung-ipc/gen.c
index 40345a1..26af233 100644
--- a/samsung-ipc/gen.c
+++ b/samsung-ipc/gen.c
@@ -19,7 +19,7 @@
*/
#include <stdio.h>
-#include <radio.h>
+#include <samsung-ipc.h>
int ipc_gen_phone_res_check(struct ipc_gen_phone_res *res)
{
diff --git a/samsung-ipc/gprs.c b/samsung-ipc/gprs.c
index a859f04..bb87674 100644
--- a/samsung-ipc/gprs.c
+++ b/samsung-ipc/gprs.c
@@ -18,7 +18,7 @@
*
*/
-#include <radio.h>
+#include <samsung-ipc.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c
index efba73a..1201823 100644
--- a/samsung-ipc/ipc.c
+++ b/samsung-ipc/ipc.c
@@ -37,7 +37,7 @@
#include <asm/types.h>
#include <sys/utsname.h>
-#include <radio.h>
+#include <samsung-ipc.h>
#include "ipc_private.h"
#include "ipc_devices.h"
diff --git a/samsung-ipc/ipc_devices.c b/samsung-ipc/ipc_devices.c
index 9858136..c82374a 100644
--- a/samsung-ipc/ipc_devices.c
+++ b/samsung-ipc/ipc_devices.c
@@ -20,7 +20,7 @@
#include <stdlib.h>
-#include <radio.h>
+#include <samsung-ipc.h>
#include "ipc_devices.h"
diff --git a/samsung-ipc/ipc_devices.h b/samsung-ipc/ipc_devices.h
index af62b0c..0e600ca 100644
--- a/samsung-ipc/ipc_devices.h
+++ b/samsung-ipc/ipc_devices.h
@@ -21,7 +21,7 @@
#ifndef __IPC_DEVICES_H__
#define __IPC_DEVICES_H__
-#include <radio.h>
+#include <samsung-ipc.h>
struct ipc_device_desc {
char *name;
diff --git a/samsung-ipc/ipc_private.h b/samsung-ipc/ipc_private.h
index 406bf9d..cf51d4f 100644
--- a/samsung-ipc/ipc_private.h
+++ b/samsung-ipc/ipc_private.h
@@ -21,7 +21,7 @@
#ifndef __IPC_PRIVATE_H__
#define __IPC_PRIVATE_H__
-#include <radio.h>
+#include <samsung-ipc.h>
struct ipc_ops {
int (*bootstrap)(struct ipc_client *client);
diff --git a/samsung-ipc/ipc_util.c b/samsung-ipc/ipc_util.c
index 63c0c6e..adfc99a 100644
--- a/samsung-ipc/ipc_util.c
+++ b/samsung-ipc/ipc_util.c
@@ -29,7 +29,7 @@
#include <asm/types.h>
#include <mtd/mtd-abi.h>
-#include <radio.h>
+#include <samsung-ipc.h>
#include "ipc_private.h"
#define IPC_STR(f) case f: return strdup(#f);
diff --git a/samsung-ipc/misc.c b/samsung-ipc/misc.c
index 0933336..96798cf 100644
--- a/samsung-ipc/misc.c
+++ b/samsung-ipc/misc.c
@@ -18,7 +18,7 @@
*
*/
-#include <radio.h>
+#include <samsung-ipc.h>
#include <string.h>
#define DEFAULT_IMSI_LENGTH 15
diff --git a/samsung-ipc/net.c b/samsung-ipc/net.c
index 9e4dfb5..8e1df03 100644
--- a/samsung-ipc/net.c
+++ b/samsung-ipc/net.c
@@ -19,7 +19,7 @@
*/
#include <string.h>
-#include <radio.h>
+#include <samsung-ipc.h>
void ipc_net_regist_get_setup(struct ipc_net_regist_get *message, unsigned char domain)
{
diff --git a/samsung-ipc/rfs.c b/samsung-ipc/rfs.c
index b2e97b3..aa38cff 100644
--- a/samsung-ipc/rfs.c
+++ b/samsung-ipc/rfs.c
@@ -29,11 +29,11 @@
#include <openssl/md5.h>
-#include <radio.h>
+#include <samsung-ipc.h>
#include "ipc_private.h"
-void md5hash2string(char *out, uint8_t *in)
+void md5hash2string(char *out, unsigned char *in)
{
int i;
diff --git a/samsung-ipc/sec.c b/samsung-ipc/sec.c
index bdf7174..7205936 100644
--- a/samsung-ipc/sec.c
+++ b/samsung-ipc/sec.c
@@ -19,7 +19,7 @@
*
*/
-#include <radio.h>
+#include <samsung-ipc.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/samsung-ipc/sms.c b/samsung-ipc/sms.c
index 991bdca..a4c7855 100644
--- a/samsung-ipc/sms.c
+++ b/samsung-ipc/sms.c
@@ -18,7 +18,7 @@
*
*/
-#include <radio.h>
+#include <samsung-ipc.h>
#include <string.h>
#include <assert.h>