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

krb5_address_search — Search for address in address list

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_boolean krb5_address_search(
krb5_context context,
const krb5_address *addr,
krb5_address * krb5_const *addrlist );

Arguments

context (input/output) 

The context structure.

addr (input) 

The address to search for.

addrlist (input) 

The address list to search, as an array of addresses. The last entry in the array must be a NULL pointer. Specify NULL for this argument if no address list is present.

Description

This routine searches addrlist for the address in addr.

Return Values

This routine returns one of the following KRB5 status codes:

TRUEaddr is listed in addrlist, or addrlist is NULL.

FALSE

addr is not listed in addrlist.