ldapSearchResult(3ibx) — Subroutines
NAME
ldapSearchResult − Provides a chain of directory entries that met the search specification of an asynchronous search.
SYNOPSIS
| #include <libldap.h> | ||
| int ldapSearchResult( | LDAP_t ∗ldap_handle, | |
| char ∗∗entry_chain ); |
MODIFIED PARAMETER
ldap_handleAn address of an LDAP handler; this call modifies the handle so that a subsequent call to the ldapFirstEntry function succeeds.
OUTPUT PARAMETER
entry_chainThe address of a chain of directory entries.
DESCRIPTION
If you called the ldapSearchReqst function, call the ldapPoll function periodically to determine if the search is complete, yet. When it is complete, call the ldapSearchResult function to retrieve the entry_chain.
If you called the ldapSearchReqstLim function, you can either call the ldapPoll function periodically, or you can wait for time_limit (a parameter of ldapSearchReqstLim) to expire. Then, call this function to retrieve the entry_chain.
RETURNS
One of the LDAP standard return values: LDAP_message.
RELATED INFORMATION
Functions: ldapFirstEntry(3), ldapSearchReqst(3), ldapSearchReqstLim(3).