aboutsummaryrefslogtreecommitdiffstats
path: root/vapi
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-02-03 17:39:06 +0100
committerSimon Busch <morphis@gravedo.de>2012-02-03 17:39:06 +0100
commit151efe36ffa69b841f7e9a6c4245015e2ab15657 (patch)
treeba7f9b149ba2437df7ce1a08b9f11c2537f5c8f5 /vapi
parent1464578767849d9b08f26c8024edf5f247be5cb8 (diff)
downloadhardware_replicant_libsamsung-ipc-151efe36ffa69b841f7e9a6c4245015e2ab15657.tar.gz
hardware_replicant_libsamsung-ipc-151efe36ffa69b841f7e9a6c4245015e2ab15657.tar.bz2
hardware_replicant_libsamsung-ipc-151efe36ffa69b841f7e9a6c4245015e2ab15657.zip
vapi: fix several binding problems
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'vapi')
-rw-r--r--vapi/samsung-ipc-1.0.vapi16
1 files changed, 10 insertions, 6 deletions
diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi
index d47cc95..bfc0929 100644
--- a/vapi/samsung-ipc-1.0.vapi
+++ b/vapi/samsung-ipc-1.0.vapi
@@ -520,17 +520,20 @@ namespace SamsungIpc
}
[CCode (cname = "struct ipc_net_regist_get", destroy_function = "")]
- public struct RegistrationSetMessage
+ public struct RegistrationGetMessage
{
public uint8 net;
- public uint8 domain;
+ public ServiceDomain domain;
+
+ [CCode (cname = "ipc_net_regist_get")]
+ public void setup( ServiceDomain domain );
public unowned uint8[] data
{
get
{
unowned uint8[] res = (uint8[])(&this);
- res.length = (int) sizeof( RegistrationSetMessage );
+ res.length = (int) sizeof( RegistrationGetMessage );
return res;
}
}
@@ -1027,7 +1030,7 @@ namespace SamsungIpc
OUTGOING,
}
- [CCode (cname = "gint8", cprefix = "IPC_SMS_ACK_", has_type_id = false)]
+ [CCode (cname = "gint16", cprefix = "IPC_SMS_ACK_", has_type_id = false)]
public enum AcknowledgeErrorType
{
NO_ERROR,
@@ -1088,9 +1091,10 @@ namespace SamsungIpc
[CCode (cname = "struct ipc_sms_deliv_report_msg")]
public struct DeliverReportMessage
{
- public uint8 type;
- public uint16 error;
+ public MessageType type;
+ public AcknowledgeErrorType error;
public uint8 msg_tpid;
+ public uint8 unk;
public unowned uint8[] data
{