ldap_copy_controls()--Make a Copy of the List of LDAP Server Controls
Syntax
#include <ldap.h> int ldap_copy_controls( LDAPControl ***to_here, LDAPControl **from)
Library Name/Service Program: QSYS/QGLDCLNT
Default Public Authority: *USE
Threadsafe: Yes
The ldap_copy_controls() function is used to make a copy of the list of LDAP server controls.
Authorities and Locks
No IBM® i authority is required. All authority checking is done by the LDAP server.
Parameters
- to_here
- (Input) Specifies the location to which to copy the control list. See Controls for LDAP APIs for more information about server controls.
- from
- (Input) Specifies the location of the control list to be copied. See Controls for LDAP APIs for more information about server controls.
Return Value
- LDAP_SUCCESS
- if the request was successful.
- LDAP_NO_MEMORY
- if the control list could not be copied.
Related Information
- ldap_insert_control() -- Insert a control in the list of LDAP server controls.
- ldap_add_control() -- Add a new LDAP server control.
- ldap_remove_control() -- Remove a control from the list of LDAP server controls.
API introduced: V5R3
[ Back to top | LDAP APIs | APIs by category ]