usr.bin/tn3270/ctlr/inbound.c
/* Try to send some data to host */
Try to send some data to host
Try to send some data to host
void
SendToIBM()
{
#if	!defined(PURE3274)
    if (TransparentClock >= OutputClock) {
	if (HadAid) {
	    AddChar(AidByte);
	    HadAid = 0;
	} else {
	    AddChar(AID_NONE_PRINTER);
	}
	do {
	    ourPTail += DataToNetwork(ourPTail, ourPHead-ourPTail, 1);
	} while (!EmptyChar());
	FlushChar();
    } else if (HadAid) {
	DoReadModified(CMD_READ_MODIFIED);
    }
#else	
    if (HadAid) {
	DoReadModified(CMD_READ_MODIFIED);
    }
#endif	
}
void SendToIBM ( ) { #if ! defined ( PURE3274 ) if ( TransparentClock >= OutputClock ) { if ( HadAid ) { AddChar ( AidByte ) ; HadAid = 0 ; } else { AddChar ( AID_NONE_PRINTER ) ; } do { ourPTail += DataToNetwork ( ourPTail , ourPHead - ourPTail , 1 ) ; } while ( ! EmptyChar ( ) ) ; FlushChar ( ) ; } else if ( HadAid ) { DoReadModified ( CMD_READ_MODIFIED ) ; } #else if ( HadAid ) { DoReadModified ( CMD_READ_MODIFIED ) ; } #endif }
Try to send some data to host
Try to send some data to host
/* !defined(PURE3274) */ /* !defined(PURE3274) */