X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=watchdog.h;h=cebbc33088d762839837fdad84a3e9e4adea4c41;hp=92702fd13978b0de1609e648f774f1414c933b28;hb=eba428f6672068d819d6296db3f635e6ac5a8be7;hpb=9bd712e309421f75363f4a356f4c1ab2c93f8f87 diff --git a/watchdog.h b/watchdog.h index 92702fd..cebbc33 100644 --- a/watchdog.h +++ b/watchdog.h @@ -15,9 +15,11 @@ #ifndef __PROCD_WATCHDOG_H #define __PROCD_WATCHDOG_H -void watchdog_init(void); +void watchdog_init(int preinit); char* watchdog_fd(void); int watchdog_timeout(int timeout); int watchdog_frequency(int frequency); +void watchdog_set_stopped(bool val); +bool watchdog_get_stopped(void); #endif