#include <ldap.h> struct berval { unsigned long bv_len; char *bv_val; }; int ldap_count_values_len( struct berval **bvals)
The ldap_count_values_len() function returns the number of values in the array returned by the ldap_get_values_len() function. The array of values returned can be freed by calling ldap_value_free_len().
No IBM® i authority is required.
if ldap_count_values_len() is not successful, ld_errno will be set to indicate the error. See LDAP Client API Error Conditions for possible LDAP error code values. Use ldap_get_errno() function to retrieve the error information.
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_count_values_len API. |
[ Back to top | LDAP APIs | APIs by category ]