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 value93 //--------------------------------------------------------------------------------------------------97 //--------------------------------------------------------------------------------------------------100 //--------------------------------------------------------------------------------------------------103 * Connect the current client thread to the service providing this API. Block until the service is106 * For each thread that wants to use this API, either ConnectService or TryConnectService must be107 * called before any other functions in this API. Normally, ConnectService is automatically called112 //--------------------------------------------------------------------------------------------------118 //--------------------------------------------------------------------------------------------------121 * Try to connect the current client thread to the service providing this API. Return with an error124 * For each thread that wants to use this API, either ConnectService or TryConnectService must be125 * called before any other functions in this API. Normally, ConnectService is automatically called134 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).137 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------147 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants150 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------163 * longer a connection to the service, and the functions in this API can't be used. For details, see168 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------180 //--------------------------------------------------------------------------------------------------190 //--------------------------------------------------------------------------------------------------208 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------226 //--------------------------------------------------------------------------------------------------233 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------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:98void le_dualsys_ConnectService(void)void le_dualsys_DisconnectService(void)le_result_t le_dualsys_GetCurrentSystem(le_dualsys_System_t *systemMaskPtr)void le_dualsys_SetServerDisconnectHandler(le_dualsys_DisconnectHandler_t disconnectHandler, void *contextPtr)