diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-10-21 20:56:42 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-21 22:46:01 +0300 |
commit | e1debdf2d498d4106abe560e439801475b7f474c (patch) | |
tree | efdeaa16191b755614500747009464bf0a30d75d /android/hal-ipc.h | |
parent | 2b9988f3f7c2d0fd41ad9b44498aaf54caa6d175 (diff) | |
download | bluez-e1debdf2d498d4106abe560e439801475b7f474c.tar.gz |
android/hal: Add initial code for sending commands
This will be used by all HAL modules to send commands and get response
from daemon. In case of any protocol error abort.
If non-null fd pointer is passed auxiliary data with passed FD will be
received as part of response.
Diffstat (limited to 'android/hal-ipc.h')
-rw-r--r-- | android/hal-ipc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/hal-ipc.h b/android/hal-ipc.h index 2f7166881..3834e7d20 100644 --- a/android/hal-ipc.h +++ b/android/hal-ipc.h @@ -17,3 +17,6 @@ bool hal_ipc_init(void); void hal_ipc_cleanup(void); + +int hal_ipc_cmd(uint8_t service_id, uint8_t opcode, uint16_t len, void *param, + size_t rsp_len, void *rsp, int *fd); |