|
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: 1832 (0x728) Types: TextFile Names: »rt2psreleas2.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/rtsap/rt2psreleas2.c«
/* rt2psreleas2.c - RTPM: respond to release */ #ifndef lint static char *rcsid = "$Header: /f/osi/rtsap/RCS/rt2psreleas2.c,v 7.0 89/11/23 22:22:23 mrose Rel $"; #endif /* * $Header: /f/osi/rtsap/RCS/rt2psreleas2.c,v 7.0 89/11/23 22:22:23 mrose Rel $ * * * $Log: rt2psreleas2.c,v $ * Revision 7.0 89/11/23 22:22:23 mrose * Release 6.0 * */ /* * 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 "rtpkt.h" /* \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; }