author | Michael Krelin <hacker@klever.net> | 2004-07-23 20:40:46 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-23 20:40:46 (UTC) |
commit | 546858a1e4d13d179a6af27b474e1396cfdf0c29 (patch) (unidiff) | |
tree | ac19b0ff5e4b3164ad5375bda112a9d6d2f88c2b /src/process.h | |
parent | 76921288a0aa39acb53102863523c388b5d0f9ee (diff) | |
download | dudki-546858a1e4d13d179a6af27b474e1396cfdf0c29.zip dudki-546858a1e4d13d179a6af27b474e1396cfdf0c29.tar.gz dudki-546858a1e4d13d179a6af27b474e1396cfdf0c29.tar.bz2 |
the ability to check/kill/reload any of the processes being monitored added.
-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 | |||
@@ -28,8 +28,10 @@ class process { | |||
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 | ||