summaryrefslogtreecommitdiffabout
path: root/src/configuration.h
Side-by-side diff
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 */