krb5_error_code krb5_copy_creds( krb5_context context, const krb5_creds *incred, krb5_creds **outcred );
The context structure.
The credentials structure
to be copied.
A pointer to a copy of the
This routine copies a credentials structure, filling in *outcred to
point to the newly allocated copy, which should be freed with krb5_free_creds.
This routine returns the following KRB5 status code: