|
|
BSD 4.3reno
/* oper_preject.c - deal with preject of an operation */
#ifndef lint
static char *rcsid = "$Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/quipu/oper_preject.c,v 1.1.1.1 2018/04/24 16:12:56 root Exp $";
#endif
/*
* $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/quipu/oper_preject.c,v 1.1.1.1 2018/04/24 16:12:56 root Exp $
*
*
* $Log: oper_preject.c,v $
* Revision 1.1.1.1 2018/04/24 16:12:56 root
* BSD 4.3reno
*
* Revision 7.0 89/11/23 22:17:53 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 "rosap.h"
#include "quipu/util.h"
#include "quipu/connection.h"
extern LLog * log_dsap;
oper_preject(conn, dp)
struct connection * conn;
struct DSAPpreject * dp;
{
struct oper_act * on;
DLOG(log_dsap, LLOG_TRACE, ("oper_preject"));
if (dp->dp_id == -1)
{
/* No identified operation to reject! */
return;
}
for(on=conn->cn_operlist; on!=NULLOPER; on=on->on_next_conn)
if(on->on_id == dp->dp_id)
break;
if(on == NULLOPER)
{
LLOG(log_dsap,LLOG_EXCEPTIONS,( "Unlocatable P-REJECT.INDICATION : %d",
dp->dp_reason));
}
else
{
oper_fail_wakeup(on);
}
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.