summaryrefslogtreecommitdiffstats
path: root/4a-hal
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal')
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c1
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h1
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c3
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c1
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c1
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c1
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.c7
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-events.c1
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager.c1
-rw-r--r--4a-hal/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.c1
-rw-r--r--4a-hal/4a-hal-utilities/4a-hal-utilities-data.c1
-rw-r--r--4a-hal/4a-hal-utilities/4a-hal-utilities-data.h3
-rw-r--r--4a-hal/4a-hal-utilities/4a-hal-utilities-verbs-loader.c1
13 files changed, 5 insertions, 18 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c
index d49a8ba..bd05090 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <stdbool.h>
#include <wrap-json.h>
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h
index d2749a1..9ee7e89 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h
@@ -19,7 +19,6 @@
#define _HAL_CTLS_ALSACORE_LINK_INCLUDE_
#include <stdio.h>
-#include <stdbool.h>
#include <wrap-json.h>
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c
index ba3b74d..7e771e5 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c
@@ -18,7 +18,6 @@
#define _GNU_SOURCE
#include <stdio.h>
-#include <stdbool.h>
#include <string.h>
#include <filescan-utils.h>
@@ -94,7 +93,7 @@ static int HalCtlsInitOneApi(AFB_ApiT apiHandle)
return -3;
// Fill SpecificHalDatadata structure
- currentCtlHalData->internal = true;
+ currentCtlHalData->internal = 1;
currentCtlHalData->apiName = (char *) ctrlConfig->api;
currentCtlHalData->sndCardPath = (char *) ctrlConfig->uid;
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
index f560c7c..214a984 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <stdbool.h>
#include <wrap-json.h>
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c
index b192374..6874e00 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <stdbool.h>
#include <wrap-json.h>
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c
index b027333..3ab8178 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <stdbool.h>
#include <limits.h>
#include <math.h>
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 73e0e7a..680863e 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <stdbool.h>
#include <wrap-json.h>
@@ -193,7 +192,7 @@ void HalMgrLoad(AFB_ReqT request)
addedHal = HalUtlAddHalApiToHalList(&HalMgrGlobalData->first);
- addedHal->internal = false;
+ addedHal->internal = 0;
// TBD JAI : initialize external to unavailable once event from external hal will be handled
addedHal->status = HAL_STATUS_READY;
@@ -278,7 +277,7 @@ void HalMgrSubscribeEvent(AFB_ReqT request)
{
AFB_ReqWarning(request, "%s not implemented yet", __func__);
- AFB_ReqSuccess(request, json_object_new_boolean(false), NULL);
+ AFB_ReqSuccess(request, json_object_new_boolean(0), NULL);
}
// TBD JAI : to implement
@@ -286,5 +285,5 @@ void HalMgrUnsubscribeEvent(AFB_ReqT request)
{
AFB_ReqWarning(request, "%s not implemented yet", __func__);
- AFB_ReqSuccess(request, json_object_new_boolean(false), NULL);
+ AFB_ReqSuccess(request, json_object_new_boolean(0), NULL);
} \ No newline at end of file
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-events.c b/4a-hal/4a-hal-manager/4a-hal-manager-events.c
index a2bbe33..96299a0 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-events.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-events.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <stdbool.h>
#include <wrap-json.h>
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager.c b/4a-hal/4a-hal-manager/4a-hal-manager.c
index 61e2474..8a447c4 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager.c
@@ -18,7 +18,6 @@
#define _GNU_SOURCE
#include <stdio.h>
-#include <stdbool.h>
#include <string.h>
#include <afb-definitions.h>
diff --git a/4a-hal/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.c b/4a-hal/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.c
index 590c7c5..e53b6af 100644
--- a/4a-hal/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.c
+++ b/4a-hal/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <stdbool.h>
#include "4a-hal-utilities-appfw-responses-handler.h"
diff --git a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.c b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.c
index aa4fabc..b7947e1 100644
--- a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.c
+++ b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <stdbool.h>
#include <wrap-json.h>
diff --git a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h
index 364c492..4eca34d 100644
--- a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h
+++ b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h
@@ -19,7 +19,6 @@
#define _HAL_UTILITIES_DATA_INCLUDE_
#include <stdio.h>
-#include <stdbool.h>
#include <wrap-json.h>
@@ -71,7 +70,7 @@ struct SpecificHalData {
char *sndCardPath;
int sndCardId;
char *info;
- bool internal;
+ unsigned int internal;
char *author;
char *version;
diff --git a/4a-hal/4a-hal-utilities/4a-hal-utilities-verbs-loader.c b/4a-hal/4a-hal-utilities/4a-hal-utilities-verbs-loader.c
index 0d6f06c..538f389 100644
--- a/4a-hal/4a-hal-utilities/4a-hal-utilities-verbs-loader.c
+++ b/4a-hal/4a-hal-utilities/4a-hal-utilities-verbs-loader.c
@@ -18,7 +18,6 @@
#define _GNU_SOURCE
#include <stdio.h>
-#include <stdbool.h>
#include <string.h>
#include <afb-definitions.h>