ldap_get_lang_values() function returns a NULL-terminated array of an attribute's string values that match a specified language subtype.
If you want to retrieve binary data from an attribute, call the ldap_get_lang_values_len() function instead.
#include <ldap.h>
char ** ldap_get_lang_values( LDAP *ld, LDAPMessage *entry,
const char *target, char **type );
ld |
Connection handle, which is a pointer to an |
entry | |
target | Attribute type (including an optional language subtype) that you want to retrieve the values of |
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_get_values() function, if a language subtype is specified, this function first attempts to find and return values that match that subtype (for example, cn;lang-en).
ldap_first_entry(), ldap_next_entry(), ldap_first_attribute(), ldap_next_attribute(), ldap_get_lang_values_len(), ldap_get_values().
Last Updated: 10/01/98 17:06:23