/* rt2ssreleas2.c - RTPM: respond to release */
static char *rcsid
= "$Header: /f/osi/rtsap/RCS/rt2ssreleas2.c,v 7.1 91/02/22 09:42:32 mrose Interim $";
* $Header: /f/osi/rtsap/RCS/rt2ssreleas2.c,v 7.1 91/02/22 09:42:32 mrose Interim $
* $Log: rt2ssreleas2.c,v $
* Revision 7.1 91/02/22 09:42:32 mrose
* Revision 6.0 89/03/18 23:43:22 mrose
* 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
/* \f RT-END.RESPONSE (X.410 CLOSE.RESPONSE) */
int RtEndResponse (sd
, rti
)
struct RtSAPindication
*rti
;
register struct assocblk
*acb
;
result
= RtEndResponseAux (acb
, rti
);
(void) sigiomask (smask
);
static int RtEndResponseAux (acb
, rti
)
register struct assocblk
*acb
;
struct RtSAPindication
*rti
;
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
);
acb
-> acb_flags
&= ~ACB_STICKY
;