krb5_address_search()--Search a List of Addresses



  Syntax
 #include <krb5.h>

 krb5_boolean krb5_address_search(
     krb5_context     context,
     krb5_const krb5_address *    addr,
     krb5_address * krb5_const *  addrlist);  
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_address_search() function allows an application to search a list of addresses for a specific address.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

addr  (Input)
The search address.

addrlist  (Input)
The address list as an array of addresses. The last entry in the array must be a NULL pointer. Specify NULL for this parameter if no address list is present.

Return Value

TRUE The search address was found in the address list, or the address list was not provided.
FALSE The search address was not found in the address list.

Error Messages

Message ID Error Message Text
CPE3418 E Possible APAR condition or hardware failure.


API introduced: V5R1
Top | Security APIs
UNIX-Type APIs | APIs by category