summaryrefslogtreecommitdiff
path: root/android/ipc.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-01-21 16:00:58 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-01-21 16:20:54 +0100
commitc26f5203fdba0b9e6fa3a1eed2d9546fd48f44dd (patch)
treed99ed0f20fd718edd8df2925adacaefc66f82786 /android/ipc.h
parent5b67d64e79cb76bbd12234ee7e7edbe04a1dfb56 (diff)
downloadbluez-c26f5203fdba0b9e6fa3a1eed2d9546fd48f44dd.tar.gz
android/A2DP: Add retry logic to Audio IPC
In case the audio HAL disconnects without cleaning up its endpoints treat it as unclean disconnection and attempt to reconnect.
Diffstat (limited to 'android/ipc.h')
-rw-r--r--android/ipc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/ipc.h b/android/ipc.h
index b1cc5c533..0ba9c67ba 100644
--- a/android/ipc.h
+++ b/android/ipc.h
@@ -34,7 +34,8 @@ struct service_handler {
void ipc_init(void);
void ipc_cleanup(void);
-GIOChannel *ipc_connect(const char *path, size_t size, GIOFunc connect_cb);
+GIOChannel *ipc_connect(const char *path, size_t size, GIOFunc connect_cb,
+ void *user_data);
int ipc_handle_msg(struct service_handler *handlers, size_t max_index,
const void *buf, ssize_t len);