aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}