oidcmp2( )

NAME

oidcmp2( ) - compare two object identifiers

SYNOPSIS

int oidcmp2 
    ( 
    int       length_1,  /* length of  first object identifier  */ 
    OIDC_T *  oid_1,     /* pointer to first object identifier  */ 
    int       length_2,  /* length of  second object identifier */ 
    OIDC_T *  oid_2      /* pointer to second object identifier */ 
    );

DESCRIPTION

This routine compares two object identifiers.

RETURNS

-1 if oid_1 is less than oid_2, 0 if oid_1 is equal to oid_2, and 1 if oid_1 is greater than oid_2.

SEE ALSO

snmpAuxLib