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 a

⟦70b41d5fe⟧ TextFile

    Length: 569 (0x239)
    Types: TextFile
    Names: »attrt_dec.c«

Derivation

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

TextFile

#include "quipu/util.h"
#include "quipu/name.h"

extern LLog * log_dsap;

AttrT_decode (x)
register AttributeType x;
{
	if (x->at_table != NULLTABLE_ATTR)
		return OK;

	if (x->at_oid == NULLOID) {
		LLOG (log_dsap,LLOG_EXCEPTIONS,("Null oid to decode"));
		return NOTOK;
	}

	if ((x->at_table = oid2attr (x->at_oid)) == NULLTABLE_ATTR) {
		LLOG (log_dsap,LLOG_EXCEPTIONS,("Unknown attribute type oid %s",sprintoid(x->at_oid)));
		return OK;   /* OK because OID is valid - just don't know about it!!! */
	}

	oid_free (x->at_oid);
	x->at_oid = NULLOID;

	return OK;
}