cs_oid_dup(3)cs_oid_dup(3)NAMEcs_oid_dup - duplicate an object identifier (OID)
const cs_oid_t a0id );
The OID to be duplicated.
The cs_oid_dup() function duplicates an OID and returns the copy of the
original OID. Resources associated with the returned OID must be
released by the application after use with a call to cs_oid_free().
A NULL value may be passed as the OID to be duplicated. In this case,
an empty OID is allocated and returned.
The function returns the OID created by the duplication process. The
function returns NULL if there is a memory allocation error.
This function is an extension of the GSS-API standard that is not sup‐
ported by other GSS-API implementations.
Functions: cs_oid_set_dup(3), cs_oid_free(3)cs_oid_dup(3)