]> git.sur5r.net Git - openldap/blobdiff - doc/man/man3/ldap_get_values.3
Merge remote branch 'origin/mdb.master'
[openldap] / doc / man / man3 / ldap_get_values.3
index b3709f6259c32d8775c378a41680c6dbf9fd201d..808f0f1c93a08ceea2054326304258e352a6438e 100644 (file)
@@ -1,48 +1,48 @@
-.TH LDAP_GET_VALUES 3 "22 September 1998" "OpenLDAP LDVERSION"
+.TH LDAP_GET_VALUES 3 "RELEASEDATE" "OpenLDAP LDVERSION"
+.\" $OpenLDAP$
+.\" Copyright 1998-2011 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 <lber.h>
 #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
@@ -94,12 +94,9 @@ for a description of possible error codes.
 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