skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: GSSAPI (Generic Security Services Application... GSSAPI (Generic Security Services Application...
go to previous page: gss_display_status  Convert GSSAPI status code to text for user display gss_display_status Convert GSSAPI status code to text for user...
go to next page: gss_export_name  Convert an internal mechanism name to export formgss_export_name Convert an internal mechanism name to export...
end of book navigation links

gss_duplicate_name -- Create a copy of an internal name 



C Prototype 

OM_uint32 gss_duplicate_name(
        OM_uint32              minor_status,
        const gss_name_t       input_name,
        gss_name_t             dest_name );

Arguments 

minor_status
(output) 
 An implementation-specific status code.
input_name (input) The internal name to be duplicated.
dest_name (output) The resultant copy of input_name. Storage associated with this name must be freed by the application after use by a call to gss_release_name.

Description 

This routine creates a duplicate of the existing internal name input_name. The new dest_name will be independent of input_name (that is, input_name and dest_name must both be released, and the release of one will not affect the validity of the other).

Return Values 

This routine returns one of the following GSS status codes:

GSS_S_COMPLETE
Successful completion.
GSS_S_BAD_NAME
The input_name argument was ill formed.


go to previous page: gss_display_status  Convert GSSAPI status code to text for user display gss_display_status Convert GSSAPI status code to text for user...
go to next page: gss_export_name  Convert an internal mechanism name to export formgss_export_name Convert an internal mechanism name to export...