aboutsummaryrefslogtreecommitdiffstats
path: root/vapi/samsung-ipc-1.0.vapi
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-01-29 17:00:03 +0100
committerSimon Busch <morphis@gravedo.de>2012-02-03 17:39:56 +0100
commit6ce237f52319787322849090377b90372d77e349 (patch)
tree686bac44559ef214c38d36083b0f244f16b5c207 /vapi/samsung-ipc-1.0.vapi
parent604ff37a783315688062a0f3015f999bc8a6169b (diff)
downloadexternal_libsamsung-ipc-6ce237f52319787322849090377b90372d77e349.zip
external_libsamsung-ipc-6ce237f52319787322849090377b90372d77e349.tar.gz
external_libsamsung-ipc-6ce237f52319787322849090377b90372d77e349.tar.bz2
Rework IPC client creation to detect device automatically on startup
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'vapi/samsung-ipc-1.0.vapi')
-rw-r--r--vapi/samsung-ipc-1.0.vapi8
1 files changed, 7 insertions, 1 deletions
diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi
index 6caa82f..ebef347 100644
--- a/vapi/samsung-ipc-1.0.vapi
+++ b/vapi/samsung-ipc-1.0.vapi
@@ -1200,11 +1200,17 @@ namespace SamsungIpc
public delegate int TransportCb(uint8[] data);
public delegate void LogHandlerCb(string message);
+ [CCode (cname = "ipc_init")]
+ public void init();
+ [CCode (cname = "ipc_shutdown")]
+ public void shutdown();
+
[Compact]
[CCode (cname = "struct ipc_client", cprefix = "ipc_client_")]
public class Client
{
- public Client(DeviceType device_type, ClientType client_type);
+ public Client(ClientType client_type);
+ public Client.for_device(DeviceType device_type, ClientType client_type);
[CCode (delagate_target_pos = 0.9)]
public int set_log_handler(LogHandlerCb log_cb);
public int set_io_handlers(TransportCb write_cb, TransportCb read_cb);