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()103 //--------------------------------------------------------------------------------------------------107 //--------------------------------------------------------------------------------------------------110 //--------------------------------------------------------------------------------------------------113 * Connect the current client thread to the service providing this API. Block until the service is116 * For each thread that wants to use this API, either ConnectService or TryConnectService must be117 * called before any other functions in this API. Normally, ConnectService is automatically called122 //--------------------------------------------------------------------------------------------------128 //--------------------------------------------------------------------------------------------------131 * Try to connect the current client thread to the service providing this API. Return with an error134 * For each thread that wants to use this API, either ConnectService or TryConnectService must be135 * called before any other functions in this API. Normally, ConnectService is automatically called144 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).147 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------157 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants160 //--------------------------------------------------------------------------------------------------167 //--------------------------------------------------------------------------------------------------173 * longer a connection to the service, and the functions in this API can't be used. For details, see178 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------196 //--------------------------------------------------------------------------------------------------202 //--------------------------------------------------------------------------------------------------206 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------218 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------245 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------256 * @note Ignored if the probation period has already ended. Also, the roll-back may be delayed if259 //--------------------------------------------------------------------------------------------------265 //--------------------------------------------------------------------------------------------------273 //--------------------------------------------------------------------------------------------------void le_updateCtrl_FailProbation(void)le_result_t le_updateCtrl_MarkGood(bool force)bool le_updateCtrl_LockProbation(void)le_result_t le_updateCtrl_TryConnectService(void)void le_updateCtrl_ConnectService(void)void(* le_updateCtrl_DisconnectHandler_t)(void *)Definition: le_updateCtrl_interface.h:108void le_updateCtrl_Allow(void)void le_updateCtrl_DisconnectService(void)LE_FULL_API void le_updateCtrl_SetServerDisconnectHandler(le_updateCtrl_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_updateCtrl_UnlockProbation(void)void le_updateCtrl_Defer(void)le_updateCtrl_SystemState_t le_updateCtrl_GetSystemState(void)