watchdog: add support for starting/stopping kernel watchdog
[project/procd.git] / watchdog.h
index 3c4a487..fd9aed2 100644 (file)
@@ -22,6 +22,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_set_cloexec(bool val);
@@ -46,6 +48,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)
 {
 }