Lines Matching refs:LDAPControl
24 static LDAPControl *ldap_control_dup( LDAPControl *ctrl );
25 static int ldap_control_copy_contents( LDAPControl *ctrl_dst,
26 LDAPControl *ctrl_src );
35 nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq,
38 LDAPControl *c;
128 nsldapi_get_controls( BerElement *ber, LDAPControl ***controlsp )
130 LDAPControl *newctrl;
199 sizeof(LDAPControl))) == NULL ) {
261 ldap_control_free( LDAPControl *ctrl )
277 ldap_controls_free( LDAPControl **ctrls )
292 LDAPControl **
294 ldap_control_append( LDAPControl **ctrl_src, LDAPControl *ctrl )
297 LDAPControl **ctrlp;
311 if ( ( ctrlp = (LDAPControl **)NSLDAPI_MALLOC( sizeof(LDAPControl *)
339 nsldapi_dup_controls( LDAP *ld, LDAPControl ***ldctrls, LDAPControl **newctrls )
356 if (( *ldctrls = (LDAPControl **)NSLDAPI_MALLOC(( count + 1 ) *
357 sizeof( LDAPControl *))) == NULL ) {
380 static LDAPControl *
382 ldap_control_dup( LDAPControl *ctrl )
384 LDAPControl *rctrl;
386 if (( rctrl = (LDAPControl *)NSLDAPI_MALLOC( sizeof( LDAPControl )))
405 ldap_control_copy_contents( LDAPControl *ctrl_dst, LDAPControl *ctrl_src )
446 LDAPControl **ctrlp )
465 if (( *ctrlp = (LDAPControl *)NSLDAPI_MALLOC( sizeof(LDAPControl)))