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: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_cksumtype_to_string  Convert checksum type to string representation krb5_cksumtype_to_string Convert checksum type to string representation
go to next page: krb5_copy_authdata  Copy a Kerberos authdata structurekrb5_copy_authdata Copy a Kerberos authdata structure
end of book navigation links

krb5_copy_addresses -- Copy Kerberos addresses 



C Prototype 

krb5_error_code krb5_copy_addresses(
         krb5_context           context,
         krb5_address * const   *inaddr,
         krb5_address           ***outaddr );

Arguments 

context
(input/output)
 The context structure.
inaddr (input) An array of addresses.
outaddr (output) A pointer to a copy of the array of addresses.

Description 

This routine copies addresses in inaddr to *outaddr, which is allocated memory and should be freed with krb5_free_addresses.

Return Values 

This routine returns the following KRB5 status code:

0
Successful completion.
ENOMEM
Insufficient memory.


go to previous page: krb5_cksumtype_to_string  Convert checksum type to string representation krb5_cksumtype_to_string Convert checksum type to string representation
go to next page: krb5_copy_authdata  Copy a Kerberos authdata structurekrb5_copy_authdata Copy a Kerberos authdata structure