Improve plugin logic, pass plugins count to session
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Tue, 22 Dec 2015 15:31:39 +0000 (16:31 +0100)
committerManuel Bachmann <manuel.bachmann@iot.bzh>
Tue, 22 Dec 2015 15:34:08 +0000 (16:34 +0100)
commit02492357cce066201a11993255120119c2703af1
treec5d4d70a3e8ebd0596a72cc807a94fc6f4025496
parent39a0ef5d1609e01f71039f9095c14cf6f3ca1a93
Improve plugin logic, pass plugins count to session

We now pre-reserve for 20 plugins (arbitrary for now,
we downsize if necessary).
Plugins count is now passed to the session in the
"pluginCount" variable.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
include/local-def.h
src/rest-api.c