cs_oid_set_union(3) — Subroutines
NAME
cs_oid_set_union − create an new object identifier (OID) set that is an union of two existingsets.
SYNOPSIS
#include <gssapi/gssapi.h>
cs_oid_set_t cs_oid_set_union (
const cs_oid_set_t set1,
const cs_oid_set_t set2 );
PARAMETERS
set1The first OID set.
set2The second OID set.
DESCRIPTION
The cs_oid_set_union() function creates a new OID set that is the union 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 entries.
Note
A union of OID sets creates a new set that contains all OID that belong to one or both sets. OIDs that exist in both sets will not be duplicated 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.