aboutsummaryrefslogtreecommitdiffstats
path: root/include/call.h
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-10-31 14:53:50 +0100
committerPaulK <contact@paulk.fr>2011-10-31 14:53:50 +0100
commitc9210b62c93a8f9a8bba249dfffc86762bc69234 (patch)
tree31de979b7daba2fb84e1291c0d27f60aeee97681 /include/call.h
parent644af30baa8bd6311f1fd67a86792b6c6195b1b3 (diff)
downloadexternal_libsamsung-ipc-c9210b62c93a8f9a8bba249dfffc86762bc69234.zip
external_libsamsung-ipc-c9210b62c93a8f9a8bba249dfffc86762bc69234.tar.gz
external_libsamsung-ipc-c9210b62c93a8f9a8bba249dfffc86762bc69234.tar.bz2
Corrected wake_lock in crespo_ipc and split struct ipc_call_outgoing
Diffstat (limited to 'include/call.h')
-rw-r--r--include/call.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/call.h b/include/call.h
index 19e3317..10e78e1 100644
--- a/include/call.h
+++ b/include/call.h
@@ -21,6 +21,12 @@
#ifndef __CALL_H__
#define __CALL_H__
+#if defined(DEVICE_CRESPO)
+#include "device/crespo/call.h"
+#elif defined(DEVICE_H1)
+#include "device/h1/call.h"
+#endif
+
/* Message types */
#define IPC_CALL_OUTGOING 0x0201
#define IPC_CALL_INCOMING 0x0202
@@ -56,14 +62,6 @@
struct ipc_message_info;
-struct ipc_call_outgoing {
- unsigned char type; // IPC_CALL_TYPE_...
- unsigned char identity; // IPC_CALL_IDENTITY_...
- unsigned char length;
- unsigned char prefix; // IPC_CALL_PREFIX_...
- unsigned char number[86];
-} __attribute__((__packed__));
-
struct ipc_call_incoming {
unsigned char type; // IPC_CALL_TYPE_...
unsigned char id;