halapi: Add new helper functions to get multiple library names 39/261139/5 accepted/tizen/unified/20210714.014120 submit/tizen/20210713.080137
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 6 Jul 2021 09:21:49 +0000 (18:21 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 13 Jul 2021 06:26:18 +0000 (15:26 +0900)
commit6f8de361cb40d57e8d3076177ba928f92f041981
treeae934841b3691afdd1adba2d9066850490209d82
parent5e83eaad9cdf2748dab8afea23b642ba85c9d68d
halapi: Add new helper functions to get multiple library names

In order to get the multiple library namse on device,
add new helper function as following. Firstly, get the number of HAL
backend libraries hal_common_get_backend_count() and the get the library
names by hal_common_get_backend_library_names().

- Get the number of the backend libraries according to the type of HAL module
int hal_common_get_backend_count(enum hal_module module);

- Get the backend library names according to the type of HAL module
int hal_common_get_backend_library_names(enum hal_module module,
                                       char **library_names,
                                       int library_count,
                                       int library_name_size);

Change-Id: If6ecc2f550693768e6e63a572dd99c791984e596
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
include/hal-common.h
src/hal-api-common.c