MP_COMPAREOIDS(3MPAPI) Common Multipath Management Library Functions
MP_CompareOIDs - compare two object IDs
cc [ flag... ] file... -lMPAPI [ library... ]
#include <mpapi.h>
MP_STATUS MP_CompareOIDs(MP_OID oid1, MP_OID oid2);
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.
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.
MP_STATUS_FAILED
The object IDs do not compare.
MP_STATUS_SUCCESS
The two object IDs refer to the same object.
See attributes(7) for descriptions of the following attributes:
+--------------------+---------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+---------------------------+
|Interface Stability | Standard: ANSI INCITS 412 |
| | Multipath Management API |
+--------------------+---------------------------+
|MT-Level | Safe |
+--------------------+---------------------------+
libMPAPI(3LIB), attributes(7)
Multipath Management API Version 1.0
February 15, 2006 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(7) 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(7)
Multipath Management API Version 1.0
February 15, 2006 MP_COMPAREOIDS(3MPAPI)