aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-02-23 23:17:08 +0100
committerSimon Busch <morphis@gravedo.de>2012-02-23 23:17:08 +0100
commit130f933ac5d4700b9eb2ff5b16f1359a4883f76c (patch)
tree5d936f0cf945b3175204aaf46452258688a8d205
parent8a57eacf2c9fff6965f470a8b578c0ae3bc75df6 (diff)
downloadhardware_replicant_libsamsung-ipc-130f933ac5d4700b9eb2ff5b16f1359a4883f76c.tar.gz
hardware_replicant_libsamsung-ipc-130f933ac5d4700b9eb2ff5b16f1359a4883f76c.tar.bz2
hardware_replicant_libsamsung-ipc-130f933ac5d4700b9eb2ff5b16f1359a4883f76c.zip
vapi: update for recent changes to network related API
-rw-r--r--vapi/samsung-ipc-1.0.vapi39
1 files changed, 33 insertions, 6 deletions
diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi
index d8a7cd9..7e029dd 100644
--- a/vapi/samsung-ipc-1.0.vapi
+++ b/vapi/samsung-ipc-1.0.vapi
@@ -491,13 +491,21 @@ namespace SamsungIpc
FORBIDDEN,
}
- [CCode (cname = "gint8", cprefix = "IPC_NET_PLMN_SEL_MODE_", has_type_id = false)]
+ [CCode (cname = "gint8", cprefix = "IPC_NET_PLMN_SEL_", has_type_id = false)]
public enum PlmnSelectionMode
{
MANUAL,
AUTO,
}
+ [CCode (cname = "gint8", cprefix = "IPC_NET_MODE_SEL_", has_type_id = false)]
+ public enum NetworkSelectionMode
+ {
+ GSM_UMTS,
+ GSM_ONLY,
+ UMTS_ONLY
+ }
+
[CCode (cname = "gint8", cprefix = "IPC_NET_SERVICE_DOMAIN_", has_type_id = false)]
public enum ServiceDomain
{
@@ -617,21 +625,40 @@ namespace SamsungIpc
}
}
- [CCode (cname = "struct ipc_net_plmn_sel", destroy_function = "")]
- public struct PlmnSelectionMessage
+ [CCode (cname = "struct ipc_net_plmn_sel_get", destroy_function = "")]
+ public struct PlmnSelectionGetMessage
{
- public uint8 mode;
+ [CCode (cname = "plmn_sel")]
+ public PlmnSelectionMode mode;
+
+ public unowned uint8[] data
+ {
+ get
+ {
+ unowned uint8[] res = (uint8[])(&this);
+ res.length = (int) sizeof( PlmnSelectionGetMessage );
+ return res;
+ }
+ }
+
+ }
+
+ [CCode (cname = "struct ipc_net_plmn_sel_set", destroy_function = "")]
+ public struct PlmnSelectionSetMessage
+ {
+ public PlmnSelectionMode mode;
public uint8[] plmn;
+ public AccessTechnology act;
[CCode (cname = "ipc_net_plmn_sel_setup")]
- public void setup(uint8 mode, string plmn);
+ public void setup(uint8 mode, string plmn, AccessTechnology act);
public unowned uint8[] data
{
get
{
unowned uint8[] res = (uint8[])(&this);
- res.length = (int) sizeof( PlmnSelectionMessage );
+ res.length = (int) sizeof( PlmnSelectionSetMessage );
return res;
}
}