summaryrefslogtreecommitdiffabout
path: root/src/configuration.h
Unidiff
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 @@
1#ifndef __CONFIGURATION_H
2#define __CONFIGURATION_H
3
4#include <string>
5using namespace std;
6#include "process.h"
7
8class 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 */