-.TH LDAP_GET_VALUES 3 "22 September 1998" "OpenLDAP LDVERSION"
+.TH LDAP_GET_VALUES 3 "RELEASEDATE" "OpenLDAP LDVERSION"
.\" $OpenLDAP$
-.\" Copyright 1998-1999 The OpenLDAP Foundation All Rights Reserved.
+.\" Copyright 1998-2012 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
.SH NAME
ldap_get_values, ldap_get_values_len, ldap_count_values \- LDAP attribute value handling routines
+.SH LIBRARY
+OpenLDAP LDAP (libldap, \-lldap)
.SH SYNOPSIS
.nf
.ft B
#include <ldap.h>
-typedef struct berval {
- unsigned long bv_len;
- char *bv_val;
-};
.LP
.ft B
char **ldap_get_values(ld, entry, attr)
.ft
LDAP *ld;
LDAPMessage *entry;
-char *attr
+char *attr;
.LP
.ft B
struct berval **ldap_get_values_len(ld, entry, attr)
.ft
LDAP *ld;
LDAPMessage *entry;
-char *attr
+char *attr;
.LP
.ft B
-ldap_count_values(vals)
+int ldap_count_values(vals)
.ft
char **vals;
.LP
.ft B
-ldap_count_values_len(vals)
+int ldap_count_values_len(vals)
.ft
struct berval **vals;
.LP
.ft B
-ldap_value_free(vals)
+void ldap_value_free(vals)
.ft
char **vals;
.LP
.ft B
-ldap_value_free_len(vals)
+void ldap_value_free_len(vals)
.ft
struct berval **vals;
.SH DESCRIPTION
These routines dynamically allocate memory which the caller must free
using the supplied routines.
.SH SEE ALSO
-.BR ldap(3),
-.BR ldap_first_entry(3),
-.BR ldap_first_attribute(3),
-.BR ldap_error(3)
+.BR ldap (3),
+.BR ldap_first_entry (3),
+.BR ldap_first_attribute (3),
+.BR ldap_error (3)
.SH ACKNOWLEDGEMENTS
-.B OpenLDAP
-is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
-.B OpenLDAP
-is derived from University of Michigan LDAP 3.3 Release.
+.so ../Project