Commit: 5862f2f6a58866e4c4321020e23c082821be3e00
Parent: dd1e44fce160c1883d8600ff2816a3403c967b12
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-02-28 16:22:45
Tree: 7e3123bbb6f8f84cdf86172641d3bef1d6dcad29

android: Add support for registering disconnect callback in IPC Allow to register callback which is called in case of IPC failure (eg malformed message) or disconnection. This makes caller responsible for performing expected action in such case.

Diffstat

M android/ipc.c | 106 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M android/ipc.h | 5 ++++-
M android/main.c | 7 ++++++-
M android/test-ipc.c | 8 ++++- - - -

4 files changed, 83 insertions(+), 43 deletions(-)

View Full Diff | Patch