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_524_conv_principal  Separate a Kerberos V5 principal into components krb5_524_conv_principal Separate a Kerberos V5 principal into...
go to next page: krb5_address_order  Return an ordering of two addresseskrb5_address_order Return an ordering of two addresses
end of book navigation links

krb5_address_compare -- Compare two addresses 



C Prototype 

krb5_boolean krb5_address_compare(
         krb5_context           context,
         const krb5_address     *addr1,
         const krb5_address     *addr2 ); 

Arguments 

context
(input/output)
 The context structure.
addr1 (input) The first address to compare.
addr2 (input) The second address to compare.

Description 

This routine compares two Kerberos addresses.

Return Values 

This routine returns one of the following KRB5 status codes:

TRUE
The two addresses are the same.
FALSE
The two addresses are different.


go to previous page: krb5_524_conv_principal  Separate a Kerberos V5 principal into components krb5_524_conv_principal Separate a Kerberos V5 principal into...
go to next page: krb5_address_order  Return an ordering of two addresseskrb5_address_order Return an ordering of two addresses