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 * Once the watchdog has been kicked it must be kicked again before the expiration of the current162 //--------------------------------------------------------------------------------------------------168 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------182 //--------------------------------------------------------------------------------------------------190 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------205 //--------------------------------------------------------------------------------------------------void le_wdog_Kick(void)LE_FULL_API void le_wdog_SetServerDisconnectHandler(le_wdog_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_wdog_Timeout(int32_t milliseconds)le_result_t le_wdog_GetWatchdogTimeout(uint64_t *millisecondsPtr)void le_wdog_DisconnectService(void)void(* le_wdog_DisconnectHandler_t)(void *)Definition: le_wdog_interface.h:71le_result_t le_wdog_TryConnectService(void)le_result_t le_wdog_GetMaxWatchdogTimeout(uint64_t *millisecondsPtr)void le_wdog_ConnectService(void)