Lines Matching refs:LDAPControl
22 static LDAPControl *ldap_control_dup( LDAPControl *ctrl );
23 static int ldap_control_copy_contents( LDAPControl *ctrl_dst,
24 LDAPControl *ctrl_src );
33 nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq, in nsldapi_put_controls()
36 LDAPControl *c; in nsldapi_put_controls()
126 nsldapi_get_controls( BerElement *ber, LDAPControl ***controlsp ) in nsldapi_get_controls()
128 LDAPControl *newctrl; in nsldapi_get_controls()
197 sizeof(LDAPControl))) == NULL ) { in nsldapi_get_controls()
259 ldap_control_free( LDAPControl *ctrl ) in ldap_control_free()
275 ldap_controls_free( LDAPControl **ctrls ) in ldap_controls_free()
290 LDAPControl **
292 ldap_control_append( LDAPControl **ctrl_src, LDAPControl *ctrl )
295 LDAPControl **ctrlp;
309 if ( ( ctrlp = (LDAPControl **)NSLDAPI_MALLOC( sizeof(LDAPControl *)
337 nsldapi_dup_controls( LDAP *ld, LDAPControl ***ldctrls, LDAPControl **newctrls ) in nsldapi_dup_controls()
354 if (( *ldctrls = (LDAPControl **)NSLDAPI_MALLOC(( count + 1 ) * in nsldapi_dup_controls()
355 sizeof( LDAPControl *))) == NULL ) { in nsldapi_dup_controls()
378 static LDAPControl *
380 ldap_control_dup( LDAPControl *ctrl ) in ldap_control_dup()
382 LDAPControl *rctrl; in ldap_control_dup()
384 if (( rctrl = (LDAPControl *)NSLDAPI_MALLOC( sizeof( LDAPControl ))) in ldap_control_dup()
403 ldap_control_copy_contents( LDAPControl *ctrl_dst, LDAPControl *ctrl_src ) in ldap_control_copy_contents()
444 LDAPControl **ctrlp ) in nsldapi_build_control()
463 if (( *ctrlp = (LDAPControl *)NSLDAPI_MALLOC( sizeof(LDAPControl))) in nsldapi_build_control()