diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-11 01:30:34 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:52:51 +0200 |
commit | e8cd2f8161706331208168c8171f0677838549d6 (patch) | |
tree | 0002f41f545f39ffa6550f30dac09eb8f4a7207a /4a-hal | |
parent | 0c99273762e161b703ce0540596d66947d27e1d1 (diff) |
Change name of 'list' verb to 'info'
Change name of 'list' verb to 'info'.
Change-Id: I9062344b67cc2c19bce9a34d4ac7abfc1baa9428
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c | 2 | ||||
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c | 2 | ||||
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h | 2 |
3 files changed, 3 insertions, 3 deletions
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 13d5490..de82ec4 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 @@ -60,7 +60,7 @@ static CtlSectionT ctrlSections[] = static struct HalUtlApiVerb CtlHalDynApiStaticVerbs[] = { /* VERB'S NAME FUNCTION TO CALL SHORT DESCRIPTION */ - { .verb = "list", .callback = HalCtlsListVerbs, .info = "List available verbs for this api"}, + { .verb = "info", .callback = HalCtlsInfo, .info = "List available streams/playbacks/... for this api"}, { .verb = NULL } // Marker for end of the array }; 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 8360694..ded6118 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c @@ -460,7 +460,7 @@ void HalCtlsActionOnStream(AFB_ReqT request) } } -void HalCtlsListVerbs(AFB_ReqT request) +void HalCtlsInfo(AFB_ReqT request) { unsigned int idx; diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h index 014c539..2db6186 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h @@ -33,6 +33,6 @@ int HalCtlsHalMapConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *S // HAL controllers verbs functions void HalCtlsActionOnStream(AFB_ReqT request); -void HalCtlsListVerbs(AFB_ReqT request); +void HalCtlsInfo(AFB_ReqT request); #endif /* _HALMGR_CB_INCLUDE_ */
\ No newline at end of file |