mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-03 21:25:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			264 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			264 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/* 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;
 | 
						|
}
 | 
						|
 |