le_dualsys_interface.h
Go to the documentation of this file.
18 * Dual systems are systems composed with two set of partitions: one is said "ACTIVE", so currently52 * This is done by calling le_fwupdate_DisableSyncBeforeUpdate() with the value true. If the value98 //--------------------------------------------------------------------------------------------------102 //--------------------------------------------------------------------------------------------------105 //--------------------------------------------------------------------------------------------------108 * Connect the current client thread to the service providing this API. Block until the service is111 * For each thread that wants to use this API, either ConnectService or TryConnectService must be112 * called before any other functions in this API. Normally, ConnectService is automatically called117 //--------------------------------------------------------------------------------------------------123 //--------------------------------------------------------------------------------------------------126 * Try to connect the current client thread to the service providing this API. Return with an error129 * For each thread that wants to use this API, either ConnectService or TryConnectService must be130 * called before any other functions in this API. Normally, ConnectService is automatically called139 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).142 //--------------------------------------------------------------------------------------------------148 //--------------------------------------------------------------------------------------------------152 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants155 //--------------------------------------------------------------------------------------------------162 //--------------------------------------------------------------------------------------------------168 * longer a connection to the service, and the functions in this API can't be used. For details, see173 //--------------------------------------------------------------------------------------------------180 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------206 //--------------------------------------------------------------------------------------------------213 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------le_result_t le_dualsys_GetCurrentSystem(le_dualsys_System_t *systemMaskPtr)void le_dualsys_ConnectService(void)LE_FULL_API void le_dualsys_SetServerDisconnectHandler(le_dualsys_DisconnectHandler_t disconnectHandler, void *contextPtr)void(* le_dualsys_DisconnectHandler_t)(void *)Definition: le_dualsys_interface.h:103le_result_t le_dualsys_SetSystem(le_dualsys_System_t systemMask)le_result_t le_dualsys_DisableSyncBeforeUpdate(bool isDisabled)le_result_t le_dualsys_TryConnectService(void)void le_dualsys_DisconnectService(void)