icinga2/lib/base/statsfunction.hpp

18 lines
327 B
C++

/* 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 */