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_order  Return an ordering of two addresses krb5_address_order Return an ordering of two addresses
go to next page: krb5_aname_to_localname  Convert a principal name to a local namekrb5_aname_to_localname Convert a principal name to a local...
end of book navigation links

krb5_address_search -- Search for address in address list 



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:

TRUE
addr is listed in addrlist, or addrlist is NULL.
FALSE
addr is not listed in addrlist.


go to previous page: krb5_address_order  Return an ordering of two addresses krb5_address_order Return an ordering of two addresses
go to next page: krb5_aname_to_localname  Convert a principal name to a local namekrb5_aname_to_localname Convert a principal name to a local...