| Current File : //usr/share/man/man3mpapi/MP_CompareOIDs.3mpapi |
'\" te
.\" Copyright (c) 2004-2006 Storage Networking Industry Association. All Rights Reserved.
.\" Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
.TH MP_CompareOIDs 3MPAPI "15 Feb 2006" "SunOS 5.11" "Common Multipath Management Library Functions"
.SH NAME
MP_CompareOIDs \- compare two object IDs
.SH SYNOPSIS
.LP
.nf
cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lMPAPI\fR [ \fIlibrary\fR\&.\|.\|. ]
#include <mpapi.h>
\fBMP_STATUS\fR \fBMP_CompareOIDs\fR(\fBMP_OID\fR \fIoid1\fR, \fBMP_OID\fR \fIoid2\fR);
.fi
.SH PARAMETERS
.sp
.ne 2
.mk
.na
\fB\fIoid1\fR\fR
.ad
.RS 8n
.rt
An object ID that has type MP_OIDs for two objects to compare.
.RE
.sp
.ne 2
.mk
.na
\fB\fIoid2\fR\fR
.ad
.RS 8n
.rt
An object ID that has type MP_OIDs for two objects to compare.
.RE
.SH DESCRIPTION
.sp
.LP
The \fBMP_CompareOIDs()\fR 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.
.SH RETURN VALUES
.sp
.ne 2
.mk
.na
\fB\fBMP_STATUS_FAILED\fR\fR
.ad
.RS 20n
.rt
The object IDs do not compare.
.RE
.sp
.ne 2
.mk
.na
\fB\fBMP_STATUS_SUCCESS\fR\fR
.ad
.RS 21n
.rt
The two object IDs refer to the same object.
.RE
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityCommitted
_
MT-LevelSafe
_
StandardANSI INCITS 412 Multipath Management API
.TE
.SH SEE ALSO
.sp
.LP
\fBlibMPAPI\fR(3LIB), \fBattributes\fR(5)
.sp
.LP
\fIMultipath Management API Version 1.0\fR