source/Sources/AirPlayReceiverServer.c
static void	_GlobalInitialize( void *inContext )
{
	(void) inContext;
	
#if( TARGET_OS_POSIX )
	signal( SIGPIPE, SIG_IGN ); // Ignore SIGPIPE signals so we get EPIPE errors from APIs instead of a signal.
#endif
	MFiPlatform_Initialize(); // Initialize at app startup to cache cert to speed up first time connect.
	
	// Setup logging.
	
	AirPlayReceiverServerSetLogLevel();
	
#if  ( TARGET_OS_POSIX && DEBUG )
	DebugIPC_EnsureInitialized( _HandleDebug, NULL );
#endif
}
//===========================================================================================================================
//	_GlobalInitialize
//
//	Perform one-time initialization of things global to the entire process.
//===========================================================================================================================
_GlobalInitialize
Perform one-time initialization of things global to the entire process.
_GlobalInitialize Perform one - time initialization of things global to the entire process .
static void	_GlobalInitialize( void *inContext )
{
	(void) inContext;
#if( TARGET_OS_POSIX )
	signal( SIGPIPE, SIG_IGN ); 
#endif
	MFiPlatform_Initialize(); 
	AirPlayReceiverServerSetLogLevel();
#if  ( TARGET_OS_POSIX && DEBUG )
	DebugIPC_EnsureInitialized( _HandleDebug, NULL );
#endif
}
static void _GlobalInitialize ( void * inContext ) { ( void ) inContext ; #if ( TARGET_OS_POSIX ) signal ( SIGPIPE , SIG_IGN ) ; #endif MFiPlatform_Initialize ( ) ; AirPlayReceiverServerSetLogLevel ( ) ; #if ( TARGET_OS_POSIX && DEBUG ) DebugIPC_EnsureInitialized ( _HandleDebug , NULL ) ; #endif }
_GlobalInitialize
Perform one-time initialization of things global to the entire process.
_GlobalInitialize Perform one - time initialization of things global to the entire process .
// Ignore SIGPIPE signals so we get EPIPE errors from APIs instead of a signal. // Initialize at app startup to cache cert to speed up first time connect. // Setup logging.