aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-29 13:49:59 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:51:00 +0200
commitc82bd2a432a8c56015e0ab377a467ff5c4c85b66 (patch)
tree7e6975d5f461ba4c9b1ffcaedf7caa2db7d93c1f /4a-hal/4a-hal-manager/4a-hal-manager-cb.c
parentdbc8a5628ab7928c584f82e17c49a4c996acee60 (diff)
Use json_object* instead of struct json_object*
In code, use json_object* instead of struct json_object*. Change-Id: I9b37f30807331b6f85dc7f36242d5c1206093565 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-manager/4a-hal-manager-cb.c')
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
index e4d9cc7..8df79d6 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
@@ -33,7 +33,7 @@
******************************************************************************/
// TODO JAI : to implement
-void HalMgrDispatchApiEvent(afb_dynapi *apiHandle, const char *evtLabel, struct json_object *eventJ)
+void HalMgrDispatchApiEvent(afb_dynapi *apiHandle, const char *evtLabel, json_object *eventJ)
{
AFB_DYNAPI_WARNING(apiHandle, "JAI :%s not implemented yet", __func__);
// Use "4a-hal-manager-events.h" to handle events
@@ -72,7 +72,7 @@ void HalMgrLoaded(afb_request *request)
struct HalMgrData *HalMgrGlobalData;
struct SpecificHalData *currentHalData;
- struct json_object *requestJson, *requestAnswer, *apiObject;
+ json_object *requestJson, *requestAnswer, *apiObject;
apiHandle = (afb_dynapi *) afb_request_get_dynapi(request);
if(! apiHandle) {