summaryrefslogtreecommitdiffstats
path: root/watchdog.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-07 13:44:32 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-04-07 13:44:36 +0200
commitb9fcb589a4c086d786891f13dfececcfabc0c91f (patch)
tree5aecce53216349920314dada47e23e2dba3c870c /watchdog.h
parent5c6859ddf9f0ca57e297d2d178504c5ad1c063e7 (diff)
downloadunitd-b9fcb589a4c086d786891f13dfececcfabc0c91f.tar
unitd-b9fcb589a4c086d786891f13dfececcfabc0c91f.zip
watchdog: add support for starting/stopping watchdog refresh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'watchdog.h')
-rw-r--r--watchdog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/watchdog.h b/watchdog.h
index 92702fd..66037b1 100644
--- a/watchdog.h
+++ b/watchdog.h
@@ -19,5 +19,7 @@ void watchdog_init(void);
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