aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-manager
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal/4a-hal-manager')
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.c4
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.h2
2 files changed, 3 insertions, 3 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) {
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.h b/4a-hal/4a-hal-manager/4a-hal-manager-cb.h
index f2f9ce0..a0b7509 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.h
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.h
@@ -24,7 +24,7 @@
#include <afb/afb-binding.h>
// Event handler
-void HalMgrDispatchApiEvent(afb_dynapi *apiHandle, const char *evtLabel, struct json_object *eventJ);
+void HalMgrDispatchApiEvent(afb_dynapi *apiHandle, const char *evtLabel, json_object *eventJ);
// Exported verbs callbacks
void HalMgrPing(afb_request *request);