X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=watchdog.h;h=d63343c162d68e65b811fc10422ee85cf97677df;hb=4dbf57a63b99f7bcaaf40679140995f80d864004;hp=e5c696a37fa974d404ed5e530ec9108e52679c07;hpb=89918c8cb78e651ee0922f13a96b7f25fc2f285a;p=project%2Fprocd.git diff --git a/watchdog.h b/watchdog.h index e5c696a..d63343c 100644 --- a/watchdog.h +++ b/watchdog.h @@ -20,6 +20,8 @@ void watchdog_init(int preinit); char* watchdog_fd(void); int watchdog_timeout(int timeout); int watchdog_frequency(int frequency); +void watchdog_set_magicclose(bool val); +bool watchdog_get_magicclose(void); void watchdog_set_stopped(bool val); bool watchdog_get_stopped(void); void watchdog_no_cloexec(void); @@ -44,6 +46,14 @@ static inline int watchdog_frequency(int frequency) return 0; } +static inline void watchdog_set_magicclose(bool val) +{ +} + +static inline void watchdog_get_magicclose(bool val) +{ +} + static inline void watchdog_set_stopped(bool val) { }