author | Michael Krelin <hacker@klever.net> | 2004-07-09 16:48:52 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-09 16:48:52 (UTC) |
commit | 9148dac885c0325636c2d33715ba248371706d0d (patch) (unidiff) | |
tree | fd95d60f6fd051c3ad46a966882e2be48440452f /src/configuration.h | |
download | dudki-9148dac885c0325636c2d33715ba248371706d0d.zip dudki-9148dac885c0325636c2d33715ba248371706d0d.tar.gz dudki-9148dac885c0325636c2d33715ba248371706d0d.tar.bz2 |
dudki: initial import into svn repository
-rw-r--r-- | src/configuration.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h new file mode 100644 index 0000000..314af92 --- a/dev/null +++ b/src/configuration.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef __CONFIGURATION_H | ||
2 | #define __CONFIGURATION_H | ||
3 | |||
4 | #include <string> | ||
5 | using namespace std; | ||
6 | #include "process.h" | ||
7 | |||
8 | class configuration { | ||
9 | public: | ||
10 | processes_t processes; | ||
11 | |||
12 | int check_interval; | ||
13 | string pidfile; | ||
14 | bool daemonize; | ||
15 | headers_t mailto_headers; | ||
16 | string notify; | ||
17 | |||
18 | configuration(); | ||
19 | |||
20 | void parse(const string& cfile); | ||
21 | }; | ||
22 | |||
23 | #endif /* __CONFIGURATION_H */ | ||