|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T r
Length: 1959 (0x7a7) Types: TextFile Names: »rt2psreleas2.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« └─⟦e5a54fb17⟧ └─⟦this⟧ »pp-5.0/Chans/x40088/rt2psreleas2.c«
/* rt2psreleas2.c - RTPM: respond to release */ # ifndef lint static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Chans/x40088/RCS/rt2psreleas2.c,v 5.0 90/09/20 15:58:02 pp Exp Locker: pp $"; # endif /* * $Header: /cs/research/pp/hubris/pp-beta/Chans/x40088/RCS/rt2psreleas2.c,v 5.0 90/09/20 15:58:02 pp Exp Locker: pp $ * * $Log: rt2psreleas2.c,v $ * Revision 5.0 90/09/20 15:58:02 pp * rcsforce : 5.0 public release * */ /* * NOTICE * * Acquisition, use, and distribution of this module and related * materials are subject to the restrictions of a license agreement. * Consult the Preface in the User's Manual for the full terms of * this agreement. * */ /* LINTLIBRARY */ #include <stdio.h> #include <signal.h> #include <isode/rtpkt.h> #if ISODE < 65 /* \f RT-CLOSE.RESPONSE */ int RtCloseResponse (sd, reason, data, rti) int sd, reason; PE data; struct RtSAPindication *rti; { SBV smask; int result; register struct assocblk *acb; missingP (rti); smask = sigioblock (); rtsapFsig (acb, sd); result = RtCloseResponseAux (acb, reason, data, rti); (void) sigiomask (smask); return result; } /* \f */ static int RtCloseResponseAux (acb, reason, data, rti) register struct assocblk *acb; int reason; PE data; register struct RtSAPindication *rti; { int result; struct AcSAPindication acis; register struct AcSAPindication *aci = &acis; register struct AcSAPabort *aca = &aci -> aci_abort; if (!(acb -> acb_flags & ACB_ACS)) return rtsaplose (rti, RTS_OPERATION, NULLCP, "not an association descriptor for RTS"); if (data) data -> pe_context = acb -> acb_rtsid; acb -> acb_flags &= ~ACB_STICKY; if (AcRelResponse (acb -> acb_fd, ACS_ACCEPT, reason, &data, data ? 1 : 0, aci) == NOTOK) result = acs2rtslose (acb, rti, "AcRelResponse", aca); else result = OK; return result; } #endif