Lines Matching refs:ctrl
24 static LDAPControl *ldap_control_dup( LDAPControl *ctrl );
261 ldap_control_free( LDAPControl *ctrl )
263 if ( ctrl != NULL ) {
264 if ( ctrl->ldctl_oid != NULL ) {
265 NSLDAPI_FREE( ctrl->ldctl_oid );
267 if ( ctrl->ldctl_value.bv_val != NULL ) {
268 NSLDAPI_FREE( ctrl->ldctl_value.bv_val );
270 NSLDAPI_FREE( (char *)ctrl );
294 ldap_control_append( LDAPControl **ctrl_src, LDAPControl *ctrl )
300 if ( NULL == ctrl )
321 ctrlp[i] = ldap_control_dup( ctrl );
378 * return a malloc'd copy of "ctrl" (NULL if memory allocation fails)
382 ldap_control_dup( LDAPControl *ctrl )
391 if ( ldap_control_copy_contents( rctrl, ctrl ) != LDAP_SUCCESS ) {