From: Kurt Zeilenga Date: Tue, 24 Jul 2001 07:56:07 +0000 (+0000) Subject: Misc. updates X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1204 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b3072d39321731d490388676efe58bcafae50b2;p=openldap Misc. updates --- diff --git a/doc/man/man3/ldap_first_attribute.3 b/doc/man/man3/ldap_first_attribute.3 index 124fcc4632..358ceeb491 100644 --- a/doc/man/man3/ldap_first_attribute.3 +++ b/doc/man/man3/ldap_first_attribute.3 @@ -1,4 +1,4 @@ -.TH LDAP_FIRST_ATTRIBUTE 3 "4 October 2000" "OpenLDAP LDVERSION" +.TH LDAP_FIRST_ATTRIBUTE 3 "23 July 2001" "OpenLDAP LDVERSION" .\" $OpenLDAP$ .\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. @@ -10,18 +10,12 @@ ldap_first_attribute, ldap_next_attribute \- step through LDAP entry attributes #include .LP .ft B -char *ldap_first_attribute(ld, entry, berptr) -.ft -LDAP *ld; -LDAPMessage *entry; -BerElement **berptr; +char *ldap_first_attribute( + LDAP *ld, LDAPMessage entry, BerElement **berptr ) .LP .ft B -char *ldap_next_attribute(ld, entry, ber) -.ft -LDAP *ld; -LDAPMessage *entry; -BerElement *ber; +char *ldap_next_attribute( + LDAP *ld, LDAPMessage entry, BerElement *ber ) .SH DESCRIPTION The .B ldap_first_attribute() @@ -64,7 +58,9 @@ for a description of possible error codes. .SH NOTES The .B ldap_first_attribute() -routine dyanamically allocated memory that must be freed by the caller via +and +.B ldap_next_attribute() +return dyanamically allocated memory that must be freed by the caller via .BR ldap_memfree (3). .SH SEE ALSO .BR ldap(3), diff --git a/doc/man/man3/ldap_first_entry.3 b/doc/man/man3/ldap_first_entry.3 index 1eb45be7b6..53585b371e 100644 --- a/doc/man/man3/ldap_first_entry.3 +++ b/doc/man/man3/ldap_first_entry.3 @@ -1,4 +1,4 @@ -.TH LDAP_FIRST_ENTRY 3 "22 September 1998" "OpenLDAP LDVERSION" +.TH LDAP_FIRST_ENTRY 3 "23 July 2001" "OpenLDAP LDVERSION" .\" $OpenLDAP$ .\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. @@ -10,22 +10,13 @@ ldap_first_entry, ldap_next_entry, ldap_count_entries \- LDAP result entry parsi #include .LP .ft B -ldap_count_entries(ld, result) -.ft -LDAP *ld; -LDAPMessage *result; +int ldap_count_entries( LDAP *ld, LDAPMessage *result ) .LP .ft B -LDAPMessage *ldap_first_entry(ld, result) -.ft -LDAP *ld; -LDAPMessage *result; +LDAPMessage *ldap_first_entry( LDAP *ld, LDAPMessage *result ) .LP .ft B -LDAPMessage *ldap_next_entry(ld, entry) -.ft -LDAP *ld; -LDAPMessage *entry; +LDAPMessage *ldap_next_entry( LDAP *ld, LDAPMessage *entry ) .SH DESCRIPTION .LP These routines are used to parse results received from