aboutsummaryrefslogtreecommitdiffstats
path: root/vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi')
-rw-r--r--vapi/samsung-ipc-1.0.vapi27
1 files changed, 14 insertions, 13 deletions
diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi
index 9c98faf..053f151 100644
--- a/vapi/samsung-ipc-1.0.vapi
+++ b/vapi/samsung-ipc-1.0.vapi
@@ -687,26 +687,27 @@ namespace SamsungIpc
}
}
+ [CCode (cname = "struct ipc_response", destroy_function = "")]
+ public struct ListResponseMessage
+ {
+ [CCode (cname = "ipc_call_list_response_get_num_entries")]
+ public uint get_num_entries();
+ [CCode (cname = "ipc_call_list_response_get_entry")]
+ public ListEntry get_entry(uint num);
+ [CCode (cname = "ipc_call_list_response_get_entry_number")]
+ public string get_entry_number(uint num);
+ }
+
[CCode (cname = "struct ipc_call_list_entry", destroy_function = "")]
- public struct ListEntryMessage
+ public struct ListEntry
{
- public uint8 type;
+ public Type type;
public uint8 idx;
public Termination term;
- public State state;
+ public uint8 state;
public uint8 mpty;
public uint8 number_len;
public uint8 unk4;
-
- public unowned uint8[] data
- {
- get
- {
- unowned uint8[] res = (uint8[])(&this);
- res.length = (int) sizeof( ListEntryMessage );
- return res;
- }
- }
}
[CCode (cname = "struct ipc_call_status", destroy_function = "")]