Initial Release 6

Function : LDAP
ldap_count_entries - Get the number of entries contained in a chain of results.
----------------------------------------------------------------------------------------------------------

#include <ldap.h>

int LNPUBLIC ldap_count_entries(
LDAP *ld,
LDAPMessage *chain);

Description :

This function returns the number of entries contained in a chain of results. This can also be used to count the number of entries that remain in a chain if called with an entry, or reference returned by ldap_first_entry or ldap_next_entry.
Parameters :

Sample Usage :

eCount = ldap_count_entries(Id, chain);

See Also :

ldap_first_entry
----------------------------------------------------------------------------------------------------------