gss_copy_oid3
Api function
Usage
#include <gss.h>
OM_uint32 gss_copy_oid(OM_uint32 * minor_status, const gss_OID src_oid, gss_OID dest_oid);
Arguments
- OM_uint32 * minor_status
-
(integer, modify) Mechanism specific status code.
- const gss_OID src_oid
-
(Object ID, read) The object identifier to copy.
- gss_OID dest_oid
-
(Object ID, modify) The resultant copy of src_oid.
Storage associated with this name must be freed by the
application, butgss_release_oid()cannot be used generally as it
deallocate the the oid structure itself too (use
gss_duplicate_oid()if you don't want this problem.)
Overview
Make an exact copy of the given OID, that shares no memory areas with the original.
WARNING: This function is a GNU GSS specific extension, and is not part of the official GSS API.
Return value:
`GSS_S_COMPLETE`: Successful completion.
Releases
2 releases since Debian 4.0 (Etch); the text changed 1 time.