source/Sources/AirPlayReceiverSession.c
static void	_RetransmitsAbortAll( AirPlayReceiverSessionRef inSession, const char *inReason )
{
	AirTunesSource * const			ats = &inSession->source;
	AirTunesRetransmitNode *		curr;
	
	if( ats->rtcpRTBusyList ) atr_stats_ulog( kLogLevelInfo, "### Aborting all retransmits (%s)\n", inReason );
	
	while( ( curr = ats->rtcpRTBusyList ) != NULL )
	{
		ats->rtcpRTBusyList = curr->next;
		curr->next = ats->rtcpRTFreeList;
		ats->rtcpRTFreeList = curr;
	}
}
//===========================================================================================================================
//	_RetransmitsAbortAll
//
//	Warning: Assumes the AirTunes lock is held.
//===========================================================================================================================
_RetransmitsAbortAll
Warning: Assumes the AirTunes lock is held.
_RetransmitsAbortAll Warning : Assumes the AirTunes lock is held .
static void	_RetransmitsAbortAll( AirPlayReceiverSessionRef inSession, const char *inReason )
{
	AirTunesSource * const			ats = &inSession->source;
	AirTunesRetransmitNode *		curr;
	if( ats->rtcpRTBusyList ) atr_stats_ulog( kLogLevelInfo, "### Aborting all retransmits (%s)\n", inReason );
	while( ( curr = ats->rtcpRTBusyList ) != NULL )
	{
		ats->rtcpRTBusyList = curr->next;
		curr->next = ats->rtcpRTFreeList;
		ats->rtcpRTFreeList = curr;
	}
}
static void _RetransmitsAbortAll ( AirPlayReceiverSessionRef inSession , const char * inReason ) { AirTunesSource * const ats = & inSession -> source ; AirTunesRetransmitNode * curr ; if ( ats -> rtcpRTBusyList ) atr_stats_ulog ( kLogLevelInfo , " \n " , inReason ) ; while ( ( curr = ats -> rtcpRTBusyList ) != NULL ) { ats -> rtcpRTBusyList = curr -> next ; curr -> next = ats -> rtcpRTFreeList ; ats -> rtcpRTFreeList = curr ; } }
_RetransmitsAbortAll
Warning: Assumes the AirTunes lock is held.
_RetransmitsAbortAll Warning : Assumes the AirTunes lock is held .