le_update_interface.h
Go to the documentation of this file.
48 * If the client disconnects before ending the update session, the session will automatically end.160 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------167 //--------------------------------------------------------------------------------------------------170 * Connect the current client thread to the service providing this API. Block until the service is173 * For each thread that wants to use this API, either ConnectService or TryConnectService must be174 * called before any other functions in this API. Normally, ConnectService is automatically called179 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------188 * Try to connect the current client thread to the service providing this API. Return with an error191 * For each thread that wants to use this API, either ConnectService or TryConnectService must be192 * called before any other functions in this API. Normally, ConnectService is automatically called201 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).204 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------214 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants217 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------230 * longer a connection to the service, and the functions in this API can't be used. For details, see235 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------256 //--------------------------------------------------------------------------------------------------259 //--------------------------------------------------------------------------------------------------266 //--------------------------------------------------------------------------------------------------269 //--------------------------------------------------------------------------------------------------273 //--------------------------------------------------------------------------------------------------276 //--------------------------------------------------------------------------------------------------280 //--------------------------------------------------------------------------------------------------283 //--------------------------------------------------------------------------------------------------289 //--------------------------------------------------------------------------------------------------298 //--------------------------------------------------------------------------------------------------302 //--------------------------------------------------------------------------------------------------309 //--------------------------------------------------------------------------------------------------320 //--------------------------------------------------------------------------------------------------327 //--------------------------------------------------------------------------------------------------336 //--------------------------------------------------------------------------------------------------342 //--------------------------------------------------------------------------------------------------346 //--------------------------------------------------------------------------------------------------352 //--------------------------------------------------------------------------------------------------360 //--------------------------------------------------------------------------------------------------366 //--------------------------------------------------------------------------------------------------372 //--------------------------------------------------------------------------------------------------378 //--------------------------------------------------------------------------------------------------388 //--------------------------------------------------------------------------------------------------399 //--------------------------------------------------------------------------------------------------401 * Get the index for the previous system in the chain, using the current system as a starting point.406 //--------------------------------------------------------------------------------------------------void le_update_End(void)void(* le_update_DisconnectHandler_t)(void *)Definition: le_update_interface.h:165void le_update_RemoveProgressHandler(le_update_ProgressHandlerRef_t handlerRef)le_result_t le_update_Start(int fd)le_result_t le_update_TryConnectService(void)le_update_ProgressHandlerRef_t le_update_AddProgressHandler(le_update_ProgressHandlerFunc_t handlerPtr, void *contextPtr)int32_t le_update_GetCurrentSysIndex(void)le_result_t le_update_GetSystemHash(int32_t systemIndex, char *hashStr, size_t hashStrSize)void le_update_ConnectService(void)void le_update_DisconnectService(void)le_result_t le_update_Install(void)int32_t le_update_GetPreviousSystemIndex(int32_t systemIndex)le_update_ErrorCode_t le_update_GetErrorCode(void)LE_FULL_API void le_update_SetServerDisconnectHandler(le_update_DisconnectHandler_t disconnectHandler, void *contextPtr)