aboutsummaryrefslogtreecommitdiffstats
path: root/vapi/samsung-ipc-1.0.vapi
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-03-02 19:12:51 +0100
committerSimon Busch <morphis@gravedo.de>2012-03-02 19:12:51 +0100
commit8d493aedbe56b001e164cf6535f3909818eed591 (patch)
tree9ccd8e7eac8f455900e479dc0a8a2ebbafa13c23 /vapi/samsung-ipc-1.0.vapi
parentbcdc98b0c964a92cb3fc956e9f84a78b5f08f00e (diff)
downloadexternal_libsamsung-ipc-8d493aedbe56b001e164cf6535f3909818eed591.zip
external_libsamsung-ipc-8d493aedbe56b001e164cf6535f3909818eed591.tar.gz
external_libsamsung-ipc-8d493aedbe56b001e164cf6535f3909818eed591.tar.bz2
vapi: various updates regarding binding issues
Diffstat (limited to 'vapi/samsung-ipc-1.0.vapi')
-rw-r--r--vapi/samsung-ipc-1.0.vapi37
1 files changed, 32 insertions, 5 deletions
diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi
index f936897..5b35f8b 100644
--- a/vapi/samsung-ipc-1.0.vapi
+++ b/vapi/samsung-ipc-1.0.vapi
@@ -305,8 +305,8 @@ namespace SamsungIpc
}
}
- [CCode (cname = "struct ipc_sec_phone_lock_request", destroy_function = "")]
- public struct PhoneLockRequestMessage
+ [CCode (cname = "struct ipc_sec_phone_lock_get", destroy_function = "")]
+ public struct PhoneLockGetMessage
{
public SimStatus lock_type; // FIXME refactor log type from SimStatus in own enum
@@ -322,7 +322,7 @@ namespace SamsungIpc
}
[CCode (cname = "struct ipc_sec_phone_lock_response", destroy_function = "")]
- public struct PhoneLockResponseMessage
+ public struct PhoneLockGetResponseMessage
{
public uint8 type;
public SimLockStatus status;
@@ -441,7 +441,7 @@ namespace SamsungIpc
}
[CCode (cname = "struct ipc_disp_rssi_info", destroy_function = "")]
- public struct RssiInfo
+ public struct RssiInfoMessage
{
public uint8 rssi;
@@ -450,7 +450,7 @@ namespace SamsungIpc
get
{
unowned uint8[] res = (uint8[])(&this);
- res.length = (int) sizeof( RssiInfo );
+ res.length = (int) sizeof( RssiInfoMessage );
return res;
}
}
@@ -719,6 +719,13 @@ namespace SamsungIpc
MT,
}
+ [CCode (cname = "uint8", cprefix = "IPC_CALL_DTMF_STATE_", has_type_id = false)]
+ public enum DtmfState
+ {
+ START,
+ STOP
+ }
+
[CCode (cname = "struct ipc_call_outgoing", destroy_function = "")]
public struct OutgoingMessage
{
@@ -803,6 +810,26 @@ namespace SamsungIpc
}
}
}
+
+ [CCode (cname = "struct ipc_call_cont_dtmf", destroy_function = "")]
+ public struct ContDtmfMessage
+ {
+ public DtmfState state;
+ public uint8 tone;
+
+ [CCode (cname = "ipc_call_cont_dtmf_burst_pack")]
+ public uint8[] pack(uint8[] burst);
+
+ public unowned uint8[] data
+ {
+ get
+ {
+ unowned uint8[] res = (uint8[])(&this);
+ res.length = (int) sizeof( ContDtmfMessage );
+ return res;
+ }
+ }
+ }
}
/* ******************************************************************************** */