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

⟦0c58e3529⟧ TextFile

    Length: 567 (0x237)
    Types: TextFile
    Names: »as_new.c«

Derivation

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

TextFile

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

as_comp_fill (ptr,at,as,acl)
Attr_Sequence ptr;
AttributeType  at;
AV_Sequence    as;
struct acl_info * acl;
{
	ptr->attr_value = as;
	ptr->attr_acl   = acl;
	if (at) {
		ptr->attr_type.at_oid = at->at_oid;
		ptr->attr_type.at_table = at->at_table;
	}
}

Attr_Sequence  as_comp_new (at,as,acl)
AttributeType  at;
AV_Sequence    as;
struct acl_info * acl;
{
Attr_Sequence ptr;
	ptr = as_comp_alloc ();
	bzero ((char *)ptr,sizeof(*ptr));
	as_comp_fill (ptr,at,as,acl);
	ptr->attr_link = NULLATTR;
	return (ptr);
}