.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gss_duplicate_name" 3 "1.0.4" "gss" "gss" .SH NAME gss_duplicate_name \- API function .SH SYNOPSIS .B #include .sp .BI "OM_uint32 gss_duplicate_name(OM_uint32 * " minor_status ", const gss_name_t " src_name ", gss_name_t * " dest_name ");" .SH ARGUMENTS .IP "OM_uint32 * minor_status" 12 (Integer, modify) Mechanism specific status code. .IP "const gss_name_t src_name" 12 (gss_name_t, read) Internal name to be duplicated. .IP "gss_name_t * dest_name" 12 (gss_name_t, modify) The resultant copy of \fIsrc_name\fP. Storage associated with this name must be freed by the application after use with a call to \fBgss_release_name()\fP. .SH "DESCRIPTION" Create an exact duplicate of the existing internal name \fIsrc_name\fP. The new \fIdest_name\fP will be independent of src_name (i.e. \fIsrc_name\fP and \fIdest_name\fP must both be released, and the release of one shall not affect the validity of the other). .SH "RETURN VALUE" `GSS_S_COMPLETE`: Successful completion. `GSS_S_BAD_NAME`: The src_name parameter was ill\-formed. .SH "REPORTING BUGS" Report bugs to . GNU Generic Security Service home page: http://www.gnu.org/software/gss/ General help using GNU software: http://www.gnu.org/gethelp/ .SH COPYRIGHT Copyright \(co 2003-2022 Simon Josefsson. .br Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. .SH "SEE ALSO" The full documentation for .B gss is maintained as a Texinfo manual. If the .B info and .B gss programs are properly installed at your site, the command .IP .B info gss .PP should give you access to the complete manual.