Lines Matching defs:ctrls
29 * Append a list of LDAPv3 controls to ber. If ctrls is NULL, use default
35 nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq,
45 if ( ctrls == NULL ) {
46 ctrls = ld->ld_servercontrols;
50 if ( ctrls == NULL || ctrls[ 0 ] == NULL ) {
60 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; i++ ) {
61 if ( ctrls[i]->ldctl_iscritical ) {
76 for ( i = 0; ctrls[i] != NULL; i++ ) {
77 c = ctrls[i];
277 ldap_controls_free( LDAPControl **ctrls )
281 if ( ctrls != NULL ) {
282 for ( i = 0; ctrls[i] != NULL; i++ ) {
283 ldap_control_free( ctrls[i] );
285 NSLDAPI_FREE( (char *)ctrls );