-rw-r--r-- | src/process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h index b6d7091..27ee049 100644 --- a/src/process.h +++ b/src/process.h | |||
@@ -20,17 +20,19 @@ class process { | |||
20 | headers_t mailto_headers; | 20 | headers_t mailto_headers; |
21 | 21 | ||
22 | int patience; | 22 | int patience; |
23 | 23 | ||
24 | process() | 24 | process() |
25 | : patience(0) { } | 25 | : patience(0) { } |
26 | 26 | ||
27 | void check(const string& id,configuration& config); | 27 | void check(const string& id,configuration& config); |
28 | void launch(const string& id,configuration& config); | 28 | void launch(const string& id,configuration& config); |
29 | void do_notify(const string& id,const string& event,const string& description,configuration& config); | 29 | void do_notify(const string& id,const string& event,const string& description,configuration& config); |
30 | void notify_mailto(const string& email,const string& id,const string& event, | 30 | void notify_mailto(const string& email,const string& id,const string& event, |
31 | const string& description,configuration& config); | 31 | const string& description,configuration& config); |
32 | |||
33 | void signal(int signum) const; | ||
32 | }; | 34 | }; |
33 | 35 | ||
34 | typedef map<string,process> processes_t; | 36 | typedef map<string,process> processes_t; |
35 | 37 | ||
36 | #endif /* __PROCESS_H */ | 38 | #endif /* __PROCESS_H */ |