|
|
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: 399 (0x18f)
Types: TextFile
Names: »as_find.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z«
└─⟦de7628f85⟧
└─⟦this⟧ »isode-6.0/dsap/common/as_find.c«
#include "quipu/util.h"
#include "quipu/attrvalue.h"
Attr_Sequence as_find_type (a,b)
Attr_Sequence a;
AttributeType b;
{
register int i;
register Attr_Sequence ptr;
/* if Attr_cmp returns <0 no point in continuing due to ordering */
for(ptr = a; ptr != NULLATTR; ptr=ptr->attr_link) {
if ( (i = AttrT_cmp (&ptr->attr_type,b)) <= 0)
return (i ? NULLATTR : ptr);
}
return (NULLATTR);
}