le_framework_interface.h
Go to the documentation of this file.
58 //--------------------------------------------------------------------------------------------------62 //--------------------------------------------------------------------------------------------------65 //--------------------------------------------------------------------------------------------------68 * Connect the current client thread to the service providing this API. Block until the service is72 * called before any other functions in this API. Normally, ConnectService is automatically called77 //--------------------------------------------------------------------------------------------------83 //--------------------------------------------------------------------------------------------------86 * Try to connect the current client thread to the service providing this API. Return with an error90 * called before any other functions in this API. Normally, ConnectService is automatically called99 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).102 //--------------------------------------------------------------------------------------------------108 //--------------------------------------------------------------------------------------------------112 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants115 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------128 * longer a connection to the service, and the functions in this API can't be used. For details, see133 //--------------------------------------------------------------------------------------------------140 //--------------------------------------------------------------------------------------------------149 //--------------------------------------------------------------------------------------------------155 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------193 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------bool le_framework_IsStopping(void)void(* le_framework_DisconnectHandler_t)(void *)Definition: le_framework_interface.h:63void le_framework_NotifyExpectedReboot(void)LE_FULL_API void le_framework_SetServerDisconnectHandler(le_framework_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_framework_TryConnectService(void)void le_framework_DisconnectService(void)void le_framework_ConnectService(void)le_result_t le_framework_Stop(void)le_result_t le_framework_Restart(bool manualRestart)bool le_framework_IsReadOnly(void)