summaryrefslogtreecommitdiffstats
path: root/lib/base/statsfunction.hpp
blob: ecac33c57788ebd260d12c9b9a3a0c623fa74073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#ifndef STATSFUNCTION_H
#define STATSFUNCTION_H

#include "base/i2-base.hpp"
#include "base/function.hpp"

namespace icinga
{

#define REGISTER_STATSFUNCTION(name, callback) \
	REGISTER_FUNCTION(StatsFunctions, name, callback, "status:perfdata")

}

#endif /* STATSFUNCTION_H */