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 d

⟦908f9c9a5⟧ TextFile

    Length: 1625 (0x659)
    Types: TextFile
    Names: »dserr_prn.c«

Derivation

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

TextFile

/* dserr_prn.c - ds error printer */

/*
 *				  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.
 *
 */


#include "psap.h"
#include "quipu/util.h"
#include "quipu/common.h"

extern LLog	* log_dsap;

int             print_OPError(pe, type)
PE		pe;
int		type;
{
    int		success;

	switch(type)
	{
	case    DSE_NOERROR :
		success = NOTOK;
		break;
	case    DSE_ABANDON_FAILED :
		success = print_DAS_AbandonFailedParm(pe,1,NULLIP,NULLVP,NULLCP);
		break;
	case    DSE_ATTRIBUTEERROR :
		success = print_DAS_AttributeErrorParm(pe,1,NULLIP,NULLVP,NULLCP);
		break;
	case    DSE_NAMEERROR :
		success = print_DAS_NameErrorParm(pe,1,NULLIP,NULLVP,NULLCP);
		break;
	case    DSE_REFERRAL :
		success = print_DAS_ReferralParm(pe,1,NULLIP,NULLVP,NULLCP);
		break;
	case    DSE_SECURITYERROR :
		success = print_DAS_SecurityErrorParm(pe,1,NULLIP,NULLVP,NULLCP);
		break;
	case    DSE_SERVICEERROR :
		success = print_DAS_ServiceErrorParm(pe,1,NULLIP,NULLVP,NULLCP);
		break;
	case    DSE_UPDATEERROR :
		success = print_DAS_UpdateErrorParm(pe,1,NULLIP,NULLVP,NULLCP);
		break;
	case    DSE_ABANDONED :
		/* There is nothing to print for this. */
		success = ((pe == NULLPE) ? OK : NOTOK);
		break;
	case	DSE_DSAREFERRAL :
		success = print_DO_DSAReferralParm(pe, 1, NULLIP, NULLVP,NULLCP);
		break;
	default :
		success = NOTOK;
		LLOG(log_dsap, LLOG_EXCEPTIONS, ("print_OPError unknown Error %d", type));
		break;
	}

	return(success);
}