Home | History | Annotate | Download | only in slapd

Lines Matching defs:tr

127 		txn_rctrls **t0, *tr;
131 tr = op->o_tmpalloc( sizeof( txn_rctrls ), op->o_tmpmemctx );
132 tr->tr_next = NULL;
133 *t0 = tr;
134 tr->tr_msgid = op->o_msgid;
135 tr->tr_ctrls = ldap_controls_dup( rs->sr_ctrls );
140 static int txn_put_ctrls( Operation *op, BerElement *ber, txn_rctrls *tr )
145 for ( ; tr; tr = next ) {
146 next = tr->tr_next;
147 ber_printf( ber, "{it{", tr->tr_msgid, LDAP_TAG_CONTROLS );
148 for ( i = 0; tr->tr_ctrls[i]; i++ )
149 ldap_pvt_put_control( tr->tr_ctrls[i], ber );
151 ldap_controls_free( tr->tr_ctrls );
152 op->o_tmpfree( tr, op->o_tmpmemctx );