diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-10-07 09:26:41 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-10-17 11:29:21 +0200 |
commit | 6a6ff77ec19edf8f41aeb69d88e4bdf32b351ce3 (patch) | |
tree | f5884dcafd054b15bae62cf416485a8ef92f9c36 /src/4a-internals-hal/4a-internals-hal-cb.h | |
parent | 1b07640d75f5a3c70655c629340e0263a21a2ff8 (diff) |
Add verbose level to json hal info verb
Add verbose level to specify the requested information level
when calling a json hal 'info' verb.
Also, move into a function the code that allows to get information
about json hal.
BUG-AGL: SPEC-2889
Change-Id: I9d5cbc6cfa550f4f7c8033dad0f3ec66d1268ea5
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'src/4a-internals-hal/4a-internals-hal-cb.h')
-rw-r--r-- | src/4a-internals-hal/4a-internals-hal-cb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/4a-internals-hal/4a-internals-hal-cb.h b/src/4a-internals-hal/4a-internals-hal-cb.h index d7b998c..48e3c35 100644 --- a/src/4a-internals-hal/4a-internals-hal-cb.h +++ b/src/4a-internals-hal/4a-internals-hal-cb.h @@ -54,7 +54,11 @@ int InternalHalHalMixerConfig(afb_api_t apiHandle, CtlSectionT *section, json_ob int InternalHalHalMapConfig(afb_api_t apiHandle, CtlSectionT *section, json_object *halMapJ); // Internals HAL verbs functions -void InternalHalInfo(afb_req_t request); +int GenerateInternalHalInfoJson(afb_api_t apiHandle, + struct HalData *currentHalData, + json_object *requestJ, + json_object **returnedJ); +void InternalHalInfoVerb(afb_req_t request); void InternalHalSubscribe(afb_req_t request); void InternalHalUnsubscribe(afb_req_t request); |