ldap_get_lang_values_len() function returns a NULL-terminated array of pointers to berval structures, each containing the length and pointer to a binary value of an attribute for a given entry. Use the ldap_get_lang_values() routine instead of this routine if the attribute values are string values.
For more information, see "Getting the Values of an Attribute" on page 131.
#include <ldap.h>
struct berval ** ldap_get_lang_values_len( LDAP *ld,
LDAPMessage *entry, const char *target, char **type );
ld |
Connection handle, which is a pointer to an |
entry |
Result returned by the |
target |
Attribute returned by |
type | Pointer to a buffer that returns the attribute type retrieved by this function. |
LDAP structure. To get the error code, call the ldap_get_lderrno() function. (See "Result Codes" on page 691 for a complete listing of error codes.) ldap_first_entry(), ldap_next_entry(), ldap_first_attribute(), ldap_next_attribute(), ldap_get_lang_values(), ldap_get_values_len().
Last Updated: 10/01/98 17:06:23