1
krb5_copy_addresses - Copy an array of addresses.
2
===================================================
6
.. c:function:: krb5_error_code krb5_copy_addresses(krb5_context context, krb5_address *const * inaddr, krb5_address *** outaddr)
13
**[in]** **context** - Library context
15
**[in]** **inaddr** - Array of addresses to be copied
17
**[out]** **outaddr** - Copy of array of addresses
24
- 0 Success; otherwise - Kerberos error codes
35
This function creates a new address array containing a copy of *inaddr* . Use :c:func:`krb5_free_addresses()` to free *outaddr* when it is no longer needed.