]> granicus.if.org Git - icinga2/blob - lib/base/statsfunction.hpp
Merge pull request #7185 from Icinga/bugfix/gelfwriter-wrong-log-facility
[icinga2] / lib / base / statsfunction.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef STATSFUNCTION_H
4 #define STATSFUNCTION_H
5
6 #include "base/i2-base.hpp"
7 #include "base/function.hpp"
8
9 namespace icinga
10 {
11
12 #define REGISTER_STATSFUNCTION(name, callback) \
13         REGISTER_FUNCTION(StatsFunctions, name, callback, "status:perfdata")
14
15 }
16
17 #endif /* STATSFUNCTION_H */