ldap_control_free()--Free storage allocated by the LDAP library


  Syntax
 #include <ldap.h>
 
 void ldap_control_free(LDAPControl  *ctrl)

  Library Name/Service Program: QSYS/QGLDCLNT

  Default Public Authority: *USE

  Threadsafe: Yes

The ldap_control_free() routine is used to free storage allocated by the LDAP APIs that uses an LDAPControl structure.


Authorities and Locks

No IBM® i authority is required.


Parameters

ctrl
(Input) The address of an LDAPControl structure.

Return Value

None.


Error Conditions

The ldap_control_free() API does not return an error code.


Error Messages

The following message may be sent from this function.

Message ID Error Message Text
CPF3CF2 E Error(s) occurred during running of ldap_control_free API.


Related Information



API introduced: V4R5

[ Back to top | LDAP APIs | APIs by category ]