le_updateCtrl_interface.h
Go to the documentation of this file.
37 * Updates will not be allowed to go ahead until no clients are deferring updates. So, if client A57 * To support this, the functions le_updateCtrl_LockProbation() and le_updateCtrl_UnlockProbation()99 //--------------------------------------------------------------------------------------------------103 //--------------------------------------------------------------------------------------------------106 //--------------------------------------------------------------------------------------------------109 * Connect the current client thread to the service providing this API. Block until the service is112 * For each thread that wants to use this API, either ConnectService or TryConnectService must be113 * called before any other functions in this API. Normally, ConnectService is automatically called118 //--------------------------------------------------------------------------------------------------124 //--------------------------------------------------------------------------------------------------127 * Try to connect the current client thread to the service providing this API. Return with an error130 * For each thread that wants to use this API, either ConnectService or TryConnectService must be131 * called before any other functions in this API. Normally, ConnectService is automatically called140 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).143 //--------------------------------------------------------------------------------------------------149 //--------------------------------------------------------------------------------------------------153 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants156 //--------------------------------------------------------------------------------------------------163 //--------------------------------------------------------------------------------------------------169 * longer a connection to the service, and the functions in this API can't be used. For details, see174 //--------------------------------------------------------------------------------------------------181 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------198 //--------------------------------------------------------------------------------------------------202 //--------------------------------------------------------------------------------------------------208 //--------------------------------------------------------------------------------------------------214 //--------------------------------------------------------------------------------------------------220 //--------------------------------------------------------------------------------------------------226 //--------------------------------------------------------------------------------------------------232 //--------------------------------------------------------------------------------------------------241 //--------------------------------------------------------------------------------------------------248 //--------------------------------------------------------------------------------------------------252 * @note Ignored if the probation period has already ended. Also, the roll-back may be delayed if255 //--------------------------------------------------------------------------------------------------261 //--------------------------------------------------------------------------------------------------269 //--------------------------------------------------------------------------------------------------LE_FULL_API void le_updateCtrl_SetServerDisconnectHandler(le_updateCtrl_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_updateCtrl_Allow(void)void le_updateCtrl_Defer(void)le_updateCtrl_SystemState_t le_updateCtrl_GetSystemState(void)le_result_t le_updateCtrl_TryConnectService(void)le_result_t le_updateCtrl_MarkGood(bool force)bool le_updateCtrl_LockProbation(void)void(* le_updateCtrl_DisconnectHandler_t)(void *)Definition: le_updateCtrl_interface.h:104void le_updateCtrl_DisconnectService(void)void le_updateCtrl_ConnectService(void)void le_updateCtrl_UnlockProbation(void)void le_updateCtrl_FailProbation(void)