NAME
gss_duplicate_name() — allow an application to create an exact duplicate of the existing internal name
SYNOPSIS
#include <gssapi.h>
OM_uint32 gss_duplicate_name (
OM_uint32 *minor_status,
const gss_name_t src_name,
gss_name_t *dest_name)
DESCRIPTION
The
gss_duplicate_name()
routine create an exact duplicate of the
existing internal name
src_name.
The new
dest_name
will be independent of
src_name.
Input Parameters
- src_name
The internal name to be duplicated.
Output Parameters
- dest_name
The resultant copy of
src_name.
- minor_status
Returns a status code from the security mechanism.
STATUS CODES
The following status codes can be returned:
- GSS_S_COMPLETE
The routine was completed successfully.
- GSS_S_BAD_NAME
The
src_name
parameter was ill-formed.
AUTHOR
gss_duplicate_name()
was developed by Sun Microsystems, Inc.