diff options
Diffstat (limited to 'src/genrc.h')
-rw-r--r-- | src/genrc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/genrc.h b/src/genrc.h index 9842016..c6ee57b 100644 --- a/src/genrc.h +++ b/src/genrc.h @@ -65,2 +65,5 @@ int pid_is_running(pid_t pid); void runas(void); +int str_to_sig(char const *); +int str_to_int(char const *); + @@ -111,2 +114,9 @@ int match_pcre(PROCSCANBUF buf, char const *arg); +enum { + RESTART_ON_EXIT, + RESTART_ON_SIGNAL +}; + +void add_restart_condition(int type, char const *arg); + |