le_instStat_interface.h
Go to the documentation of this file.
46 //--------------------------------------------------------------------------------------------------50 //--------------------------------------------------------------------------------------------------53 //--------------------------------------------------------------------------------------------------56 * Connect the current client thread to the service providing this API. Block until the service is60 * called before any other functions in this API. Normally, ConnectService is automatically called65 //--------------------------------------------------------------------------------------------------71 //--------------------------------------------------------------------------------------------------74 * Try to connect the current client thread to the service providing this API. Return with an error78 * called before any other functions in this API. Normally, ConnectService is automatically called87 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).90 //--------------------------------------------------------------------------------------------------96 //--------------------------------------------------------------------------------------------------100 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants103 //--------------------------------------------------------------------------------------------------110 //--------------------------------------------------------------------------------------------------116 * longer a connection to the service, and the functions in this API can't be used. For details, see121 //--------------------------------------------------------------------------------------------------128 //--------------------------------------------------------------------------------------------------132 //--------------------------------------------------------------------------------------------------135 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------142 //--------------------------------------------------------------------------------------------------146 //--------------------------------------------------------------------------------------------------149 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------162 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------182 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------le_result_t le_instStat_TryConnectService(void)le_instStat_AppUninstallEventHandlerRef_t le_instStat_AddAppUninstallEventHandler(le_instStat_AppUninstallHandlerFunc_t handlerPtr, void *contextPtr)void le_instStat_ConnectService(void)void le_instStat_RemoveAppUninstallEventHandler(le_instStat_AppUninstallEventHandlerRef_t handlerRef)struct le_instStat_AppInstallEventHandler * le_instStat_AppInstallEventHandlerRef_tDefinition: le_instStat_common.h:36void le_instStat_RemoveAppInstallEventHandler(le_instStat_AppInstallEventHandlerRef_t handlerRef)le_instStat_AppInstallEventHandlerRef_t le_instStat_AddAppInstallEventHandler(le_instStat_AppInstallHandlerFunc_t handlerPtr, void *contextPtr)LE_FULL_API void le_instStat_SetServerDisconnectHandler(le_instStat_DisconnectHandler_t disconnectHandler, void *contextPtr)void(* le_instStat_AppUninstallHandlerFunc_t)(const char *LE_NONNULL appName, void *contextPtr)Definition: le_instStat_common.h:66struct le_instStat_AppUninstallEventHandler * le_instStat_AppUninstallEventHandlerRef_tDefinition: le_instStat_common.h:44void(* le_instStat_DisconnectHandler_t)(void *)Definition: le_instStat_interface.h:51void(* le_instStat_AppInstallHandlerFunc_t)(const char *LE_NONNULL appName, void *contextPtr)Definition: le_instStat_common.h:53void le_instStat_DisconnectService(void)