aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/ipc_private.h
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-09-29 15:22:37 +0200
committerSimon Busch <morphis@gravedo.de>2011-09-29 15:36:29 +0200
commit458fd1fbcd0abb1860739b19e8fd833aa056d185 (patch)
treec8b7294bd5b6eab7ae4b4931b85f20d54aacdc8d /samsung-ipc/ipc_private.h
parentf6bbbfa9c5e038e838e5641764666f53a04b2985 (diff)
downloadexternal_libsamsung-ipc-458fd1fbcd0abb1860739b19e8fd833aa056d185.zip
external_libsamsung-ipc-458fd1fbcd0abb1860739b19e8fd833aa056d185.tar.gz
external_libsamsung-ipc-458fd1fbcd0abb1860739b19e8fd833aa056d185.tar.bz2
Several update regarding integration in other userland environements than android
* add fd_get method to ipc_ops to retrieve the file descriptior responsible for modem requests/response * add bootstrap method to ipc_ops to separate modem bootstrap from modem opening * add first version of a vapi to be able to use samsung-ipc from vala * add missing pkg-config description file
Diffstat (limited to 'samsung-ipc/ipc_private.h')
-rw-r--r--samsung-ipc/ipc_private.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/samsung-ipc/ipc_private.h b/samsung-ipc/ipc_private.h
index 2dbf2c3..f439719 100644
--- a/samsung-ipc/ipc_private.h
+++ b/samsung-ipc/ipc_private.h
@@ -22,12 +22,14 @@
#define __IPC_PRIVATE_H__
struct ipc_ops {
- int (*open)(void);
- int (*close)(void);
- void (*power_on)(void);
- void (*power_off)(void);
- int (*send)(struct ipc_request*);
- int (*recv)(struct ipc_response*);
+ int (*bootstrap)(void);
+ int (*open)(void);
+ int (*close)(void);
+ void (*power_on)(void);
+ void (*power_off)(void);
+ int (*send)(struct ipc_request*);
+ int (*recv)(struct ipc_response*);
+ int (*fd_get)(void);
};
#endif