|
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: 453 (0x1c5) Types: TextFile Names: »as_dec.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/dsap/common/as_dec.c«
#include "quipu/util.h" #include "quipu/attrvalue.h" static Attr_Sequence eptr; #define foreach(a) for(eptr = a; eptr != NULLATTR; eptr=eptr->attr_link) as_decode (x) Attr_Sequence x; { int result = OK; if (x == NULLATTR) return (OK); foreach (x) if (avs_decode (&eptr->attr_type,eptr->attr_value) == NOTOK) result = NOTOK; if (x->attr_value == NULLAV) return (NOTOK); /* MUST have at least one value */ return (result); }