projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debloat and reorganize code
[project/procd.git]
/
watchdog.h
diff --git
a/watchdog.h
b/watchdog.h
index
92702fd
..
cebbc33
100644
(file)
--- a/
watchdog.h
+++ b/
watchdog.h
@@
-15,9
+15,11
@@
#ifndef __PROCD_WATCHDOG_H
#define __PROCD_WATCHDOG_H
#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);
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
#endif