oidcmp( )

NAME

oidcmp( ) - compare two object identifiers

SYNOPSIS

int oidcmp 
    ( 
    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. It returns 1 if the OIDs are the same and 0 if not. The two object idenifiers may be of different lengths.

RETURNS

1 if the OIDs are equal, otherwise 0.

SEE ALSO

snmpAuxLib