icinga2/lib/base/statsfunction.hpp

18 lines
327 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#ifndef STATSFUNCTION_H
#define STATSFUNCTION_H
2014-05-25 16:23:35 +02:00
#include "base/i2-base.hpp"
2017-11-30 10:46:44 +01:00
#include "base/function.hpp"
namespace icinga
{
#define REGISTER_STATSFUNCTION(name, callback) \
REGISTER_FUNCTION(StatsFunctions, name, callback, "status:perfdata")
}
#endif /* STATSFUNCTION_H */