le_wdog_interface.h
Go to the documentation of this file.
66 //--------------------------------------------------------------------------------------------------70 //--------------------------------------------------------------------------------------------------73 //--------------------------------------------------------------------------------------------------76 * Connect the current client thread to the service providing this API. Block until the service is80 * called before any other functions in this API. Normally, ConnectService is automatically called85 //--------------------------------------------------------------------------------------------------91 //--------------------------------------------------------------------------------------------------94 * Try to connect the current client thread to the service providing this API. Return with an error98 * called before any other functions in this API. Normally, ConnectService is automatically called107 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).110 //--------------------------------------------------------------------------------------------------116 //--------------------------------------------------------------------------------------------------120 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants123 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------136 * longer a connection to the service, and the functions in this API can't be used. For details, see141 //--------------------------------------------------------------------------------------------------148 //--------------------------------------------------------------------------------------------------152 //--------------------------------------------------------------------------------------------------155 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------162 //--------------------------------------------------------------------------------------------------166 //--------------------------------------------------------------------------------------------------170 //--------------------------------------------------------------------------------------------------174 //--------------------------------------------------------------------------------------------------176 (181 //--------------------------------------------------------------------------------------------------185 * Once the watchdog has been kicked it must be kicked again before the expiration of the current188 //--------------------------------------------------------------------------------------------------194 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------208 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------void(* le_wdog_ExternalWatchdogHandlerFunc_t)(void *contextPtr)Definition: le_wdog_interface.h:176le_wdog_ExternalWatchdogHandlerRef_t le_wdog_AddExternalWatchdogHandler(int32_t milliseconds, le_wdog_ExternalWatchdogHandlerFunc_t handlerPtr, void *contextPtr)struct le_wdog_ExternalWatchdogHandler * le_wdog_ExternalWatchdogHandlerRef_tDefinition: le_wdog_interface.h:167void le_wdog_RemoveExternalWatchdogHandler(le_wdog_ExternalWatchdogHandlerRef_t handlerRef)void(* le_wdog_DisconnectHandler_t)(void *)Definition: le_wdog_interface.h:71void le_wdog_Kick(void)le_result_t le_wdog_TryConnectService(void)void le_wdog_Timeout(int32_t milliseconds)void le_wdog_DisconnectService(void)void le_wdog_ConnectService(void)void le_wdog_SetServerDisconnectHandler(le_wdog_DisconnectHandler_t disconnectHandler, void *contextPtr)