LDAPMessage structure representing the next directory entry in a chain of search results.
#include <ldap.h>
LDAPMessage * ldap_next_entry( LDAP *ld, LDAPMessage *entry );
ld |
Connection handle, which is a pointer to an |
entry |
Pointer to an |
LDAPMessage structure of the type LDAP_RES_SEARCH_ENTRY in a chain of search results. LDAPMessage structures of the type LDAP_RES_SEARCH_ENTRY are in the chain or if the function is unsuccessful, returns a NULLMSG. ldap_next_entry() function returns a pointer to the LDAPMessage structure representing the next directory entry in a chain of search results. Messages containing directory entries have the type LDAP_RES_SEARCH_ENTRY.
You can use this function in conjunction with the ldap_first_entry() function to iterate through the directory entries in a chain of search results. These functions skip over any messages in the chain that do not have the type LDAP_RES_SEARCH_ENTRY.
For more information, see "Iterating Through a Chain of Results" on page 124.
ldap_first_entry().
Last Updated: 10/01/98 17:06:23