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_address_compare  Compare two addresses krb5_address_compare Compare two addresses
go to next page: krb5_address_search  Search for address in address listkrb5_address_search Search for address in address list
end of book navigation links

krb5_address_order -- Return an ordering of two addresses 



C Prototype 

int krb5_address_order(
         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 returns an ordering on the two addresses.

Return Values 

This routine returns one of the following KRB5 status codes:

= 0
The two addresses are the same.
< 0
First address is less than second.
> 0
First address is greater than second.


go to previous page: krb5_address_compare  Compare two addresses krb5_address_compare Compare two addresses
go to next page: krb5_address_search  Search for address in address listkrb5_address_search Search for address in address list