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


  Syntax
 #include <ldap.h>
 
 void ldap_controls_free(LDAPControl  **ctrls)

  Library Name/Service Program: QSYS/QGLDCLNT

  Default Public Authority: *USE

  Threadsafe: Yes

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


Authorities and Locks

No IBM® i authority is required.


Parameters

ctrls
(Input) The address of an LDAPControl list, represented as a NULL-terminated array of pointers to LDAPControl structures.

Return Value

None.


Error Conditions

The ldap_controls_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_controls_free API.


Related Information



API introduced: V4R5

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