manages reference counting for events
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 21 Apr 2016 15:49:30 +0000 (17:49 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 21 Apr 2016 15:49:30 +0000 (17:49 +0200)
commit3bbfb37bb4572a110122b1a83e21261108a65460
tree4fbe1c5537d4e1b186bb8676535c28618b31d994
parent289017821655e0d9750eb7d5ae82c23790422a50
manages reference counting for events

Events are sent to an unknown count of receivers.
For this reason, the function push should not
consume the json object given.

Change-Id: Ie6c60074bd3822e7107d670f905cc86f56f826bf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
plugins/samples/HelloWorld.c
src/session.c