MP_CompareOIDs(3MPAPI) Common Multipath Management Library Functions MP_CompareOIDs(3MPAPI)
NAME
MP_CompareOIDs - compare two object IDs
SYNOPSIS
cc [ flag... ] file... -lMPAPI [ library... ]
#include <mpapi.h>
MP_STATUS MP_CompareOIDs(MP_OID oid1, MP_OID oid2);
PARAMETERS
oid1 An object ID that has type MP_OIDs for two objects to compare.
oid2 An object ID that has type MP_OIDs for two objects to compare.
DESCRIPTION
The MP_CompareOIDs() function compares two object IDs (OIDs) for equality to see whether they refer to the same object. The fields in the
two object IDs are compared field-by-field for equality.
RETURN VALUES
MP_STATUS_FAILED The object IDs do not compare.
MP_STATUS_SUCCESS The two object IDs refer to the same object.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: ANSI INCITS 412 |
| |Multipath Management API |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
libMPAPI(3LIB), attributes(5)
Multipath Management API Version 1.0
SunOS 5.11 15 Feb 2006 MP_CompareOIDs(3MPAPI)