Initial Release 6

Function : LDAP
ldap_count_references - Get the number of references contained in a chain of results.
----------------------------------------------------------------------------------------------------------

#include <ldap.h>

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

Description :

This function returns the number of references contained in a chain of results. This can also be used to count the number of references that remain in a chain if called with a reference returned by ldap_first_reference or ldap_next_reference.
Parameters :

Sample Usage :

rCount = ldap_count_references(Id, chain);

See Also :

ldap_first_reference
----------------------------------------------------------------------------------------------------------