[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here
HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_address_order — Return an ordering of two addresses

 » Table of Contents

 » Glossary

 » Index

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:

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

First address is greater than second.