summaryrefslogtreecommitdiffstats
path: root/lib/base/initialize.cpp
blob: 23373cc23c77c15ef90345e6db1dac0c4fb9bdd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#include "base/initialize.hpp"
#include "base/loader.hpp"

using namespace icinga;

bool icinga::InitializeOnceHelper(void (*func)(), int priority)
{
	Loader::AddDeferredInitializer(func, priority);
	return true;
}