MP_COMPAREOIDS(3MPAPI) Common Multipath Management Library Functions MP_COMPAREOIDS(3MPAPI)

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 OmniOS