Annotation of 43BSDReno/contrib/isode-beta/dsap/common/attrt_cmp.c, revision 1.1.1.1

1.1       root        1: #include "quipu/util.h"
                      2: #include "quipu/name.h"
                      3: 
                      4: #ifdef AttrT_cmp
                      5: #undef AttrT_cmp
                      6: #endif
                      7: 
                      8: AttrT_cmp_old (x,y)
                      9: register AttributeType x,y;
                     10: {
                     11:        if ( x == NULLAttrT )
                     12:                return (y ? -1 : 0);
                     13:        if ( y == NULLAttrT )
                     14:                return (1);
                     15: 
                     16:        if (x == y)
                     17:                return (0);
                     18: 
                     19:        return (x > y) ? 1 : -1;
                     20: }
                     21: 
                     22: 
                     23: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.