The SnmpUtilOidCmp function compares two object identifiers.
SNMPAPI SnmpUtilOidCmp(
AsnObjectIdentifier *ObjIdA, |
// first object identifier |
AsnObjectIdentifier *ObjIdB |
// second object identifier |
); |
The function returns a value greater than zero if ObjIdA is greater than ObjIdB, zero if ObjIdA equals ObjIdB, and less than zero if ObjIdA is less than ObjIdB.
The SnmpUtilOidCmp function calls the SnmpUtilOidNCmp function.