]> git.sur5r.net Git - openldap/commitdiff
ITS#6959 document ldap_dnfree()
authorHoward Chu <hyc@openldap.org>
Fri, 3 Jun 2011 18:51:11 +0000 (11:51 -0700)
committerHoward Chu <hyc@openldap.org>
Fri, 3 Jun 2011 18:51:11 +0000 (11:51 -0700)
doc/man/man3/ldap_get_dn.3
doc/man/man3/ldap_get_dn.3.links

index 82fd3d46607e81d813f3007d5b5fe639c61f15dd..dbf2c444e8cd3a4d1b7034c3bb3aadb1061aae2e 100644 (file)
@@ -18,7 +18,10 @@ char *ldap_get_dn( LDAP *ld, LDAPMessage *entry )
 int ldap_str2dn( const char *str, LDAPDN *dn, unsigned flags )
 .LP
 .ft B
-int ldap_dn2str( LDAPDN *dn, char **str, unsigned flags )
+void ldap_dnfree( LDAPDN dn )
+.LP
+.ft B
+int ldap_dn2str( LDAPDN dn, char **str, unsigned flags )
 .LP
 .ft B
 char **ldap_explode_dn( const char *dn, int notypes )
@@ -68,7 +71,13 @@ structures, arranged in
 .B LDAPRDN,
 and 
 .B LDAPDN
-terms, defined as:
+terms.  Space for
+.B dn
+will be obtained dynamically and should be freed by the caller using
+.BR ldap_dnfree (3).
+The
+.B LDAPDN
+is defined as:
 .nf
 .ft B
 
index 9bb38af6e886bd22d4ba382bda9ad5cacf391667..4c71aa56daa061dd16997a7b2f0b82b32b1f5194 100644 (file)
@@ -2,6 +2,7 @@ ldap_explode_dn.3
 ldap_explode_rdn.3
 ldap_dn2ufn.3
 ldap_str2dn.3
+ldap_dnfree.3
 ldap_dn2str.3
 ldap_dn2dcedn.3
 ldap_dcedn2dn.3