Fix AFB_SESSION_CREATE behaviour
authorJosé Bollo <jose.bollo@iot.bzh>
Sat, 21 May 2016 22:29:22 +0000 (00:29 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Sat, 21 May 2016 22:29:22 +0000 (00:29 +0200)
commit457c879ff89bc7f1a8864304974999dba54af9ae
tree5d18a69c237fac35896911bda1711a147b05fa98
parented4e7e3b0690680d963bc722bc259a424099e7e5
Fix AFB_SESSION_CREATE behaviour

This commit allows to call methods having AFB_SESSION_CREATE
at any time.

This commit prepares the future LOA (level of authorization)
implementation that wille soon replace the deprecated mechanism
of AFB_SESSION_CREATE.

Change-Id: Ia3e99186e012fcd55a6c81a7067ab5b4aca21e4d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
include/afb/afb-req-itf.h
src/afb-api-so.c
src/afb-context.c
src/afb-context.h
src/session.c
src/session.h