le_instStat_interface.h
Go to the documentation of this file.
41 //--------------------------------------------------------------------------------------------------45 //--------------------------------------------------------------------------------------------------48 //--------------------------------------------------------------------------------------------------51 * Connect the current client thread to the service providing this API. Block until the service is55 * called before any other functions in this API. Normally, ConnectService is automatically called60 //--------------------------------------------------------------------------------------------------66 //--------------------------------------------------------------------------------------------------69 * Try to connect the current client thread to the service providing this API. Return with an error73 * called before any other functions in this API. Normally, ConnectService is automatically called82 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).85 //--------------------------------------------------------------------------------------------------91 //--------------------------------------------------------------------------------------------------95 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants98 //--------------------------------------------------------------------------------------------------105 //--------------------------------------------------------------------------------------------------111 * longer a connection to the service, and the functions in this API can't be used. For details, see116 //--------------------------------------------------------------------------------------------------123 //--------------------------------------------------------------------------------------------------127 //--------------------------------------------------------------------------------------------------131 //--------------------------------------------------------------------------------------------------135 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------145 (152 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------158 (165 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------180 //--------------------------------------------------------------------------------------------------184 //--------------------------------------------------------------------------------------------------191 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------206 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------void le_instStat_DisconnectService(void)le_instStat_AppInstallEventHandlerRef_t le_instStat_AddAppInstallEventHandler(le_instStat_AppInstallHandlerFunc_t handlerPtr, void *contextPtr)struct le_instStat_AppInstallEventHandler * le_instStat_AppInstallEventHandlerRef_tDefinition: le_instStat_interface.h:128void(* le_instStat_AppInstallHandlerFunc_t)(const char *LE_NONNULL appName, void *contextPtr)Definition: le_instStat_interface.h:145struct le_instStat_AppUninstallEventHandler * le_instStat_AppUninstallEventHandlerRef_tDefinition: le_instStat_interface.h:136le_result_t le_instStat_TryConnectService(void)void le_instStat_RemoveAppUninstallEventHandler(le_instStat_AppUninstallEventHandlerRef_t handlerRef)void(* le_instStat_DisconnectHandler_t)(void *)Definition: le_instStat_interface.h:46le_instStat_AppUninstallEventHandlerRef_t le_instStat_AddAppUninstallEventHandler(le_instStat_AppUninstallHandlerFunc_t handlerPtr, void *contextPtr)void le_instStat_RemoveAppInstallEventHandler(le_instStat_AppInstallEventHandlerRef_t handlerRef)void le_instStat_ConnectService(void)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_interface.h:158