Allow detection of session closure
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 31 Mar 2017 09:55:20 +0000 (11:55 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 31 Mar 2017 09:55:20 +0000 (11:55 +0200)
commit20ea5089d0e5526afaa5231f30add7b25b2499bd
tree1e2cc4cb1373647b10721ea4ed434162fbbc3ffc
parentc9ba2ce49808a19a4ef982280a46256797b830ae
Allow detection of session closure

In some case it can be good to have a function called
when the session closes. This is the case when a binding
records an item in the context. With this modification
the recorded item can be simply NULL.

Change-Id: I5e23f00eb2a6e2639fdeea15f9dea79c7df9dfbb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-session.c