• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/slapd-modules/dupent/

Lines Matching refs:op

64 	Operation *op,
79 if ( op->o_dupent != SLAP_CONTROL_NONE ) {
139 ds = (dupent_t *)op->o_tmpcalloc( 1,
141 op->o_tmpmemctx );
210 op->o_ctrldupent = (void *)ds;
212 op->o_dupent = ctrl->ldctl_iscritical
220 op->o_tmpfree( ds, op->o_tmpmemctx );
224 ber_memfree_x( AttributeDescriptionList, op->o_tmpmemctx );
245 dupent_response_done( Operation *op, SlapReply *rs )
266 if ( op->o_dupent == SLAP_CONTROL_CRITICAL ) {
272 ctrl = op->o_tmpcalloc( 1,
274 op->o_tmpmemctx );
286 slap_add_ctrls( op, rs, ctrlsp );
293 Operation *op,
311 rc = dupent_response_entry_1level( op, rs,
324 ctrl = op->o_tmpcalloc( 1, sizeof( LDAPControl ), op->o_tmpmemctx );
330 slap_add_ctrls( op, rs, ctrlsp );
334 rc = send_search_entry( op, rs );
370 dupent_response_entry( Operation *op, SlapReply *rs )
372 dupent_cb_t *dc = (dupent_cb_t *)op->o_callback->sc_private;
406 rs_entry2modifiable( op, rs, dc->dc_on );
410 valnum = op->o_tmpcalloc( sizeof(valnum_t), nattrs, op->o_tmpmemctx );
447 rc = dupent_response_entry_1level( op, rs, e, valnum, nattrs, 0 );
454 op->o_tmpfree( valnum, op->o_tmpmemctx );
460 dupent_response( Operation *op, SlapReply *rs )
462 dupent_cb_t *dc = (dupent_cb_t *)op->o_callback->sc_private;
470 return dupent_response_done( op, rs );
473 return dupent_response_entry( op, rs );
486 dupent_cleanup( Operation *op, SlapReply *rs )
489 op->o_tmpfree( op->o_callback, op->o_tmpmemctx );
490 op->o_callback = NULL;
492 op->o_tmpfree( op->o_ctrldupent, op->o_tmpmemctx );
493 op->o_ctrldupent = NULL;
500 dupent_op_search( Operation *op, SlapReply *rs )
502 if ( op->o_dupent != SLAP_CONTROL_NONE ) {
506 sc = op->o_tmpcalloc( 1, sizeof( slap_callback ) + sizeof( dupent_cb_t ), op->o_tmpmemctx );
509 dc->dc_on = (slap_overinst *)op->o_bd->bd_info;
510 dc->dc_ds = (dupent_t *)op->o_ctrldupent;
517 sc->sc_next = op->o_callback->sc_next;
518 op->o_callback->sc_next = sc;