DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T n

⟦f03ff3156⟧ TextFile

    Length: 1655 (0x677)
    Types: TextFile
    Names: »nw_ro_urej.c«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/dsap/net/nw_ro_urej.c« 

TextFile

/* nw_ro_ureject.c - */

#ifndef lint
static char *rcsid = "$Header: /f/osi/dsap/net/RCS/nw_ro_urej.c,v 6.0 89/03/18 23:28:56 mrose Rel $";
#endif

/*
 * $Header: /f/osi/dsap/net/RCS/nw_ro_urej.c,v 6.0 89/03/18 23:28:56 mrose Rel $
 *
 *
 * $Log:	nw_ro_urej.c,v $
 * Revision 6.0  89/03/18  23:28:56  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 "rosap.h"
#include "quipu/util.h"
#include "quipu/connection.h"

extern LLog * log_dsap;

struct activity *       task_alloc();

net_wait_ro_ureject(conn, rou)
Conn            conn;
struct RoSAPureject     *rou;
{
    DLOG(log_dsap,LLOG_TRACE,( "net_wait_ro_ureject"));

    if(rou->rou_noid)
    {
	LLOG(log_dsap,LLOG_EXCEPTIONS,( "Non-specific U-REJECT.INDICATION : %d",
	  rou->rou_reason));
    }
    else
    {
	struct activity *       oper;

	for(oper=conn->cn_operlist; oper!=NULLACTIVITY; oper=oper->on_next_conn)
	    if(oper->act_id == rou->rou_id)
		break;

	if(oper == NULLACTIVITY)
	{
	    LLOG(log_dsap,LLOG_EXCEPTIONS,( "Unlocatable U-REJECT.INDICATION : %d",
	      rou->rou_reason));
	}
	else
	{
	    oper->act_class = ACTIVITY_DSA_WORK;
	    oper->act_type = ACT_TYPE_RESP;
	    oper->act_resp.resp_type = RESP_TYPE_REJ;
	    if(oper->on_task == NULLACTIVITY)
	    {
		LLOG(log_dsap, LLOG_FATAL, ("Task memerr 9"));
	    }
	    else
		oper->on_task->act_class = ACTIVITY_COLLATE;
	}
    }
}