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()98 //--------------------------------------------------------------------------------------------------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 //--------------------------------------------------------------------------------------------------184 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------211 //--------------------------------------------------------------------------------------------------217 //--------------------------------------------------------------------------------------------------223 //--------------------------------------------------------------------------------------------------229 //--------------------------------------------------------------------------------------------------235 //--------------------------------------------------------------------------------------------------241 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------261 * @note Ignored if the probation period has already ended. Also, the roll-back may be delayed if264 //--------------------------------------------------------------------------------------------------270 //--------------------------------------------------------------------------------------------------278 //--------------------------------------------------------------------------------------------------void le_updateCtrl_FailProbation(void)void le_updateCtrl_DisconnectService(void)bool le_updateCtrl_LockProbation(void)void le_updateCtrl_SetServerDisconnectHandler(le_updateCtrl_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_updateCtrl_ConnectService(void)void le_updateCtrl_UnlockProbation(void)le_result_t le_updateCtrl_TryConnectService(void)void le_updateCtrl_Defer(void)void(* le_updateCtrl_DisconnectHandler_t)(void *)Definition: le_updateCtrl_interface.h:103le_result_t le_updateCtrl_MarkGood(bool force)le_updateCtrl_SystemState_t le_updateCtrl_GetSystemState(void)void le_updateCtrl_Allow(void)