* ldap_int_put_controls
*/
-int ldap_int_put_controls(
+int
+ldap_int_put_controls(
LDAP *ld,
- LDAPControl **ctrls,
+ LDAPControl *const *ctrls,
BerElement *ber )
{
- LDAPControl **c;
+ LDAPControl *const *c;
assert( ld != NULL );
assert( ber != NULL );
/*
* Duplicate an array of LDAPControl
*/
-LDAPControl **ldap_controls_dup( LDAPControl **controls )
+LDAPControl **
+ldap_controls_dup( LDAPControl *const *controls )
{
LDAPControl **new;
int i;
/*
* Duplicate a LDAPControl
*/
-LDAPControl *ldap_control_dup( LDAPControl *c )
+LDAPControl *
+ldap_control_dup( const LDAPControl *c )
{
LDAPControl *new;
* in controls.c
*/
LDAPControl *ldap_control_dup LDAP_P((
- LDAPControl *ctrl ));
+ const LDAPControl *ctrl ));
LDAPControl **ldap_controls_dup LDAP_P((
- LDAPControl **ctrls ));
+ LDAPControl *const *ctrls ));
int ldap_int_get_controls LDAP_P((
BerElement *be,
int ldap_int_put_controls LDAP_P((
LDAP *ld,
- LDAPControl **ctrls,
+ LDAPControl *const *ctrls,
BerElement *ber ));
/*