le_flash_interface.h
Go to the documentation of this file.
41 * - le_flash_AddBadImageDetectionHandler() API adds a handler to notify when an image becomes bad63 //--------------------------------------------------------------------------------------------------67 //--------------------------------------------------------------------------------------------------70 //--------------------------------------------------------------------------------------------------73 * Connect the current client thread to the service providing this API. Block until the service is77 * called before any other functions in this API. Normally, ConnectService is automatically called82 //--------------------------------------------------------------------------------------------------88 //--------------------------------------------------------------------------------------------------91 * Try to connect the current client thread to the service providing this API. Return with an error95 * called before any other functions in this API. Normally, ConnectService is automatically called104 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).107 //--------------------------------------------------------------------------------------------------113 //--------------------------------------------------------------------------------------------------117 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants120 //--------------------------------------------------------------------------------------------------127 //--------------------------------------------------------------------------------------------------133 * longer a connection to the service, and the functions in this API can't be used. For details, see138 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------150 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------158 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------169 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------177 (184 //--------------------------------------------------------------------------------------------------191 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------le_flash_BadImageDetectionHandlerRef_t le_flash_AddBadImageDetectionHandler(le_flash_BadImageDetectionHandlerFunc_t handlerPtr, void *contextPtr)void(* le_flash_BadImageDetectionHandlerFunc_t)(const char *LE_NONNULL imageName, void *contextPtr)Definition: le_flash_interface.h:177void(* le_flash_DisconnectHandler_t)(void *)Definition: le_flash_interface.h:68void le_flash_DisconnectService(void)struct le_flash_BadImageDetectionHandler * le_flash_BadImageDetectionHandlerRef_tDefinition: le_flash_interface.h:166void le_flash_SetServerDisconnectHandler(le_flash_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_flash_ConnectService(void)void le_flash_RemoveBadImageDetectionHandler(le_flash_BadImageDetectionHandlerRef_t handlerRef)le_result_t le_flash_TryConnectService(void)