|
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: 1813 (0x715) Types: TextFile Names: »ns_ac_ex_req.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« └─⟦d3ac74d73⟧ └─⟦this⟧ »isode-5.0/dsap/net/ns_ac_ex_req.c«
/* ns_ac_ex_req.c - normal association release */ #ifndef lint static char *rcsid = "$Header: /f/osi/dsap/net/RCS/ns_ac_ex_req.c,v 6.0 89/03/18 23:28:40 mrose Rel $"; #endif /* * $Header: /f/osi/dsap/net/RCS/ns_ac_ex_req.c,v 6.0 89/03/18 23:28:40 mrose Rel $ * * * $Log: ns_ac_ex_req.c,v $ * Revision 6.0 89/03/18 23:28:40 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_finish(conn) register struct connection * conn; { struct AcSAPrelease acr_s; struct AcSAPrelease *acr = &(acr_s); struct AcSAPindication aci_s; struct AcSAPindication *aci = &(aci_s); struct AcSAPabort *aca = &(aci->aci_abort); DLOG(log_dsap, LLOG_TRACE, ("net_send_ac_finish")); LLOG(log_dsap, LLOG_NOTICE, ("RY-UNBIND: <%d, normal, nullpe>", conn->cn_ad)); if (RyUnBind (conn->cn_ad, ACF_NORMAL, NULLPE, acr, aci) != OK) { DLOG(log_dsap, LLOG_TRACE, ("net_send_ac_finish: acr_affirmative = %d", acr->acr_affirmative)); acs_log(aca, "A-RELEASE.REQUEST"); } else { DLOG(log_dsap, LLOG_TRACE, ("net_send_ac_finish: acr_affirmative = %d", acr->acr_affirmative)); if (!acr->acr_affirmative) { net_send_abort(conn); } else { DLOG(log_dsap, LLOG_TRACE, ("net_send_ac_finish: Conn finished!")); } } conn->cn_state = CN_STATE_FAIL; conn->cn_ad = 0; }