From: Yunhee Seo Date: Tue, 11 Feb 2025 15:28:38 +0000 (+0900) Subject: hal-common: Add hal_common_transport enumeration X-Git-Tag: accepted/tizen/unified/20250214.120509^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5388d671b13e47b21351ebb01175b26ca739ea9;p=platform%2Fhal%2Fapi%2Fcommon.git hal-common: Add hal_common_transport enumeration As support hal-ipc communication, to define hal-api <-> hal-backend communication way, new enumeration is added. - enum hal_common_transport -> This indicates hal-api communication way. Change-Id: I89a4ac7f5929a5e12e89cff1b6ddb62d9561f09b Signed-off-by: Yunhee Seo --- diff --git a/include/hal-common.h b/include/hal-common.h index 1996552..912a4d8 100644 --- a/include/hal-common.h +++ b/include/hal-common.h @@ -102,6 +102,12 @@ enum hal_common_backend_compatibility { HAL_COMMON_BACKEND_COMPATIBILITY_COMPATIBLE, }; +enum hal_common_transport { + HAL_COMMON_TRANSPORT_UNKNOWN = 0, /**< This indicates undefined communication way with hal-backend */ + HAL_COMMON_TRANSPORT_IPC, /**< This indicates ipc communication way with hal-backend */ + HAL_COMMON_TRANSPORT_PASSTHROUGH, /**< This indicates dlopen communication way with hal-backend */ +}; + /** * @brief Get the backend library name according to the type of HAL module * @param[in] HAL module id among enum hal_module