cs_oid_set_dup(3) — Subroutines
NAME
cs_oid_set_dup − duplicate an object identifier (OID) set
SYNOPSIS
#include <gssapi/gssapi.h>
cs_oid_set_t cs_oid_set_dup (
const cs_oid_set_t aSet1 );
PARAMETERS
aSetThe OID set to be duplicated.
DESCRIPTION
The cs_oid_set_dup() function duplicates an OID set and returns a copy of the original OID set. Resources associated with the returned OID set must be released by the application after use with a call to cs_oid_set_free().
A NULL value may be passed as the set to be duplicated. In this case, an empty OID set is allocated and returned. To create an empty OID set using a GSS-API v2 complaint function, use gss_create_empty_OID_set().
RETURN VALUES
The function returns the OID set created by the duplication process. 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.
SEE ALSO
Functions: cs_oid_dup(3), cs_oid_set_free(3), gss_create_empty_OID_set(3)