|
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 d
Length: 543 (0x21f) Types: TextFile Names: »dn_cmp.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/dsap/common/dn_cmp.c«
#include "quipu/util.h" #include "quipu/name.h" dn_cmp (a,b) register DN a,b; { for (; (a != NULLDN) && (b != NULLDN) ; a = a->dn_parent, b = b->dn_parent) if ( dn_comp_cmp (a,b) == NOTOK) { return NOTOK; } if (( a == NULLDN) && (b == NULLDN)) { return OK; } else { return NOTOK; } } dn_cmp_prefix (a,b) register DN a,b; { for (; a != NULLDN && b != NULLDN ; a = a->dn_parent, b = b->dn_parent) if ( dn_comp_cmp (a,b) == NOTOK) { return NOTOK; } if ( a == NULLDN) { return OK; } else { return NOTOK; } }