diff options
author | Simon Busch <morphis@gravedo.de> | 2011-10-28 19:08:29 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2011-10-28 19:08:29 +0200 |
commit | 3fcbca9b0c1ea0e8dd2ba2d43b07f8090339755d (patch) | |
tree | d2e6c41576854445a41bf634266c0936f033a2e9 /vapi | |
parent | a38db5807753c279eba7480c0e63e0b6357fef34 (diff) | |
download | external_libsamsung-ipc-3fcbca9b0c1ea0e8dd2ba2d43b07f8090339755d.zip external_libsamsung-ipc-3fcbca9b0c1ea0e8dd2ba2d43b07f8090339755d.tar.gz external_libsamsung-ipc-3fcbca9b0c1ea0e8dd2ba2d43b07f8090339755d.tar.bz2 |
Various changes to code and vala binding regarding call API
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/samsung-ipc-1.0.vapi | 27 |
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 = "")] |