cs_oid_set_isect(3) — Subroutines
NAME
cs_oid_set_isect − create an new object identifier (OID) set that is an intersection oftwo existing sets.
SYNOPSIS
#include <gssapi/gssapi.h>
cs_oid_set_t cs_oid_set_isect(
const cs_oid_set_tset1,
const cs_oid_set_tset2 );
PARAMETERS
set1The first OID set.
set2The second OID set.
DESCRIPTION
The cs_oid_set_isect() function creates a new OID set that is the intersection of two OID sets. Resources associated with the new OID set must be released by the application after use with a call to cs_oid_set_free().
The returned OID set may be empty if the two sets did not contain any common entries.
Note
An intersection of OID sets creates a new set that contains all OIDs that belong to both sets. OIDs that exist in only one set will not be included in the new set.
RETURN VALUES
The function returns the new OID set. The function returns NULL if there is a memory allocation error.
PORTABILITY CONSIDERATIONS
This function is an extension of the GSS-API standard that is not supported by other GSS-API implementations.