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 value94 //--------------------------------------------------------------------------------------------------98 //--------------------------------------------------------------------------------------------------101 //--------------------------------------------------------------------------------------------------104 * Connect the current client thread to the service providing this API. Block until the service is107 * For each thread that wants to use this API, either ConnectService or TryConnectService must be108 * called before any other functions in this API. Normally, ConnectService is automatically called113 //--------------------------------------------------------------------------------------------------119 //--------------------------------------------------------------------------------------------------122 * Try to connect the current client thread to the service providing this API. Return with an error125 * For each thread that wants to use this API, either ConnectService or TryConnectService must be126 * called before any other functions in this API. Normally, ConnectService is automatically called135 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).138 //--------------------------------------------------------------------------------------------------144 //--------------------------------------------------------------------------------------------------148 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants151 //--------------------------------------------------------------------------------------------------158 //--------------------------------------------------------------------------------------------------164 * longer a connection to the service, and the functions in this API can't be used. For details, see169 //--------------------------------------------------------------------------------------------------176 //--------------------------------------------------------------------------------------------------181 //--------------------------------------------------------------------------------------------------184 //--------------------------------------------------------------------------------------------------202 //--------------------------------------------------------------------------------------------------209 //--------------------------------------------------------------------------------------------------220 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------LE_FULL_API void le_dualsys_SetServerDisconnectHandler(le_dualsys_DisconnectHandler_t disconnectHandler, void *contextPtr)le_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_DisconnectHandler_t)(void *)Definition: le_dualsys_interface.h:99void le_dualsys_ConnectService(void)void le_dualsys_DisconnectService(void)le_result_t le_dualsys_GetCurrentSystem(le_dualsys_System_t *systemMaskPtr)