summaryrefslogtreecommitdiffabout
path: root/src/configuration.h
authorMichael Krelin <hacker@klever.net>2004-07-09 16:48:52 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-09 16:48:52 (UTC)
commit9148dac885c0325636c2d33715ba248371706d0d (patch) (side-by-side diff)
treefd95d60f6fd051c3ad46a966882e2be48440452f /src/configuration.h
downloaddudki-9148dac885c0325636c2d33715ba248371706d0d.zip
dudki-9148dac885c0325636c2d33715ba248371706d0d.tar.gz
dudki-9148dac885c0325636c2d33715ba248371706d0d.tar.bz2
dudki: initial import into svn repository
Diffstat (limited to 'src/configuration.h') (more/less context) (ignore whitespace changes)
-rw-r--r--src/configuration.h23
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 @@
+#ifndef __CONFIGURATION_H
+#define __CONFIGURATION_H
+
+#include <string>
+using namespace std;
+#include "process.h"
+
+class configuration {
+ public:
+ processes_t processes;
+
+ int check_interval;
+ string pidfile;
+ bool daemonize;
+ headers_t mailto_headers;
+ string notify;
+
+ configuration();
+
+ void parse(const string& cfile);
+};
+
+#endif /* __CONFIGURATION_H */