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

krb5_address_compare — Compare two addresses

  Table of Contents

  Glossary

  Index

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:

TRUEThe two addresses are the same.

FALSE

The two addresses are different.