Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

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
Committed
MT-Level
Safe
Standard
ANSI INCITS 412 Multipath Management API

See Also

libMPAPI(3LIB), attributes(7)

Multipath Management API Version 1.0