|
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 - download
Length: 491 (0x1eb) Types: TextFile Names: »as_cmp.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/dsap/common/as_cmp.c«
#include "quipu/util.h" #include "quipu/attrvalue.h" as_cmp_comp (a,b) Attr_Sequence a,b; { int i; if (( i= AttrT_cmp (&a->attr_type,&b->attr_type)) != 0) return (i); return (avs_cmp (a->attr_value,b->attr_value)); } as_cmp (a,b) Attr_Sequence a,b; { int i; for (; (a != NULLATTR) && (b != NULLATTR) ; a = a->attr_link, b = b->attr_link) if ( (i =as_cmp_comp (a,b)) != 0) return (i); if ( (a == NULLATTR) && (b == NULLATTR) ) return (0); else return (a ? 1 : -1); }