cs_oid_set_cmp(3) — Subroutines
NAME
cs_oid_set_cmp − compare two object identifier (OID) sets
SYNOPSIS
#include <gssapi/gssapi.h>
int cs_oid_set_cmp (
const cs_oid_set_tset1,
const cs_oid_set_tset2 );
PARAMETERS
set1The first OID set in the comparison.
set2The second OID set in the comparison.
DESCRIPTION
The cs_oid_set_cmp() function compares two OID sets and returns an integer that indicates whether the two sets are equal. The order of the elements in each set is not important.
Duplicate entries in either set may cause an equality although the two sets are not equal. However, duplicate OIDs should not be present in a set.
RETURN VALUES
The function returns 0 if the sets are not equal; the function returns 1 if the sets are equal.
PORTABILITY CONSIDERATIONS
This function is an extension of the GSS-API standard that is not supported by other GSS-API implementations.