summaryrefslogtreecommitdiffabout
path: root/src/configuration.h
blob: 314af9246d1b2a0b3858c434d9e95e5ef5714755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 */