|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T a
Length: 707 (0x2c3) Types: TextFile Names: »attrt_cpy.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/dsap/common/attrt_cpy.c«
#include "quipu/util.h" #include "quipu/name.h" #include "quipu/malloc.h" AttributeType AttrT_cpy (x) register AttributeType x; { register AttributeType y = NULLAttrT; y = (AttributeType) smalloc (sizeof (attrType)); AttrT_cpy_aux (x,y); return (y); } AttrT_cpy_aux (x,y) register AttributeType x; register AttributeType y; { extern oid_table_attr attrOIDTable []; if (x == NULLAttrT) { y->at_oid = NULLOID; y->at_table = NULLTABLE_ATTR; return; } if (x->at_table == NULLTABLE_ATTR) (void) AttrT_decode(x); if (x->at_oid != NULLOID) y -> at_oid = oid_cpy(x->at_oid); else y -> at_oid = NULLOID; y -> at_table = x->at_table; attr_index = y -> at_table - &attrOIDTable[0]; }