Replace session's value with sessions's cookies
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 27 Mar 2017 12:24:46 +0000 (14:24 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 27 Mar 2017 12:27:52 +0000 (14:27 +0200)
commit3bf52bb36ed428d0a7b947519fbccc7c376fd4a9
tree88f6b06b74a7e2cd63abe128c4959a87465f683b
parent8ab18c9dd70205755b67001ce27a499c0196ad63
Replace session's value with sessions's cookies

This is a simplifaction with the benefits of
only allocating needed memory and avoiding to
create indexes on apis (path to dynanic?).
Conversely it replaces a direct access with
a linear search.

Change-Id: Ibb130528ad8f23dfd6b420c228f51e181efb2664
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-apis.c
src/afb-apis.h
src/afb-context.c
src/afb-context.h
src/afb-session.c
src/afb-session.h
src/main.c