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 o

⟦56a480258⟧ TextFile

    Length: 1519 (0x5ef)
    Types: TextFile
    Names: »oper_ureject.c«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/quipu/oper_ureject.c« 

TextFile

/* oper_ureject.c - deal with user rejection of an operation */

#ifndef lint
static char *rcsid = "$Header: /f/osi/quipu/RCS/oper_ureject.c,v 7.0 89/11/23 22:17:55 mrose Rel $";
#endif

/*
 * $Header: /f/osi/quipu/RCS/oper_ureject.c,v 7.0 89/11/23 22:17:55 mrose Rel $
 *
 *
 * $Log:	oper_ureject.c,v $
 * Revision 7.0  89/11/23  22:17:55  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_ureject(conn, rou)
Conn            conn;
struct RoSAPureject     *rou;
{
    DLOG(log_dsap,LLOG_TRACE,( "oper_ureject"));

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

	for(on=conn->cn_operlist; on!=NULLOPER; on=on->on_next_conn)
	    if(on->on_id == rou->rou_id)
		break;

	if(on == NULLOPER)
	{
	    LLOG(log_dsap,LLOG_EXCEPTIONS,( "Unlocatable U-REJECT.INDICATION : %d",
	      rou->rou_reason));
	    return;
	}

	if(on->on_state == ON_ABANDONED)
	{
	    LLOG(log_dsap, LLOG_NOTICE, ("oper_result - operation had been abandoned"));
	    oper_extract(on);
	    return;
	}

	oper_fail_wakeup(on);
    }
}