|
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 n
Length: 1689 (0x699) Types: TextFile Names: »ns_ac_ex_rsp.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« └─⟦d3ac74d73⟧ └─⟦this⟧ »isode-5.0/dsap/net/ns_ac_ex_rsp.c«
/* ns_ac_ex_resp.c - generate A-RELEASE.RESPONSE */ #ifndef lint static char *rcsid = "$Header: /f/osi/dsap/net/RCS/ns_ac_ex_rsp.c,v 6.0 89/03/18 23:28:41 mrose Rel $"; #endif /* * $Header: /f/osi/dsap/net/RCS/ns_ac_ex_rsp.c,v 6.0 89/03/18 23:28:41 mrose Rel $ * * * $Log: ns_ac_ex_rsp.c,v $ * Revision 6.0 89/03/18 23:28:41 mrose * Release 5.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 "acsap.h" #include "rosap.h" #include "quipu/util.h" #include "quipu/connection.h" extern LLog * log_dsap; Conn conn_alloc(); void conn_free(); void acs_log (); net_send_ac_exit(conn) register struct connection * conn; { struct AcSAPindication aci_s; struct AcSAPindication *aci = &(aci_s); struct AcSAPabort *aca = &(aci->aci_abort); DLOG(log_dsap, LLOG_TRACE, ("net_send_ac_exit")); LLOG(log_dsap, LLOG_NOTICE, ("A-RELEASE.RESPONSE: <%d, normal, accept, nullpe>", conn->cn_ad)); if(AcRelResponse(conn->cn_ad, ACR_NORMAL, ACS_ACCEPT, NULLPEP, 0, aci) != OK) { DLOG(log_dsap, LLOG_TRACE, ("Pre AcUAbortResp")); acs_log(aca, "A-RELEASE.RESPONSE"); LLOG(log_dsap, LLOG_NOTICE, ("A-ABORT.REQUEST: <%d, nullpe>", conn->cn_ad)); if(AcUAbortRequest(conn->cn_ad, NULLPEP, 0, aci) != OK) acs_log(aca, "A-ABORT.REQUEST"); DLOG(log_dsap, LLOG_TRACE, ("Post AcUAbortResp")); } conn->cn_state = CN_STATE_FAIL; conn->cn_ad = 0; }