|
|
1.1 ! root 1: #include "quipu/util.h" ! 2: #include "quipu/attrvalue.h" ! 3: #include "quipu/dsp.h" /* for ds_error.h */ ! 4: #include "quipu/ds_error.h" ! 5: ! 6: avs_cmp (a,b) ! 7: AV_Sequence a,b; ! 8: { ! 9: int i; ! 10: ! 11: for (; (a != NULLAV) && (b != NULLAV) ; a = a->avseq_next, b = b->avseq_next) ! 12: if ( (i = avs_cmp_comp (a,b)) != 0) ! 13: return (i); ! 14: ! 15: if ( (a == NULLAV) && (b == NULLAV) ) { ! 16: return 0; ! 17: } else { ! 18: return (a ? 1 : -1); ! 19: } ! 20: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.