|
|
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: 1723 (0x6bb)
Types: TextFile
Names: »rt2ssreleas2.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z«
└─⟦de7628f85⟧
└─⟦this⟧ »isode-6.0/rtsap/rt2ssreleas2.c«
/* rt2ssreleas2.c - RTPM: respond to release */
#ifndef lint
static char *rcsid = "$Header: /f/osi/rtsap/RCS/rt2ssreleas2.c,v 7.0 89/11/23 22:22:31 mrose Rel $";
#endif
/*
* $Header: /f/osi/rtsap/RCS/rt2ssreleas2.c,v 7.0 89/11/23 22:22:31 mrose Rel $
*
*
* $Log: rt2ssreleas2.c,v $
* Revision 7.0 89/11/23 22:22:31 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-END.RESPONSE (X.410 CLOSE.RESPONSE) */
int RtEndResponse (sd, rti)
int sd;
struct RtSAPindication *rti;
{
SBV smask;
int result;
register struct assocblk *acb;
missingP (rti);
smask = sigioblock ();
rtsapFsig (acb, sd);
result = RtEndResponseAux (acb, rti);
(void) sigiomask (smask);
return result;
}
/* \f
*/
static int RtEndResponseAux (acb, rti)
register struct assocblk *acb;
struct RtSAPindication *rti;
{
int result;
struct SSAPindication sis;
register struct SSAPindication *si = &sis;
register struct SSAPabort *sa = &si -> si_abort;
if (acb -> acb_flags & ACB_ACS)
return rtsaplose (rti, RTS_OPERATION, NULLCP,
"not an association descriptor for RTS");
if (SRelResponse (acb -> acb_fd, SC_ACCEPT, NULLCP, 0, si) == NOTOK)
result = ss2rtslose (acb, rti, "SRelResponse", sa);
else {
acb -> acb_fd = NOTOK;
result = OK;
}
acb -> acb_flags &= ~ACB_STICKY;
freeacblk (acb);
return result;
}