Home
last modified time | relevance | path

Searched refs:newctrls (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dbackglue.c166 LDAPControl **newctrls; in glue_op_response() local
172 newctrls = op->o_tmpalloc((i+1)*sizeof(LDAPControl *), in glue_op_response()
200 newctrls = op->o_tmprealloc(gs->ctrls, in glue_op_response()
205newctrls[j] = op->o_tmpalloc(sizeof(LDAPControl) + oidlen + 1 + rs->sr_ctrls[k]->ldctl_value.bv_le… in glue_op_response()
207 newctrls[j]->ldctl_iscritical = rs->sr_ctrls[k]->ldctl_iscritical; in glue_op_response()
208 newctrls[j]->ldctl_oid = (char *)&newctrls[j][1]; in glue_op_response()
209 lutil_strcopy( newctrls[j]->ldctl_oid, rs->sr_ctrls[k]->ldctl_oid ); in glue_op_response()
211 newctrls[j]->ldctl_value.bv_val = &newctrls[j]->ldctl_oid[oidlen + 1]; in glue_op_response()
212 newctrls[j]->ldctl_value.bv_len = rs->sr_ctrls[k]->ldctl_value.bv_len; in glue_op_response()
213 lutil_memcopy( newctrls[j]->ldctl_value.bv_val, in glue_op_response()
[all …]
/netbsd-src/external/bsd/elftosb/dist/common/
H A Doptions.h438 ctrls(unsigned newctrls) { optctrls = newctrls; } in ctrls() argument
/netbsd-src/external/bsd/openldap/dist/clients/tools/
H A Dldapmodify.c393 LDAPControl **newctrls = NULL; in process_ldif_rec() local
400 newctrls = ber_memrealloc(lr.lr_ctrls, in process_ldif_rec()
403 if (newctrls == NULL) { in process_ldif_rec()
407 lr.lr_ctrls = newctrls; in process_ldif_rec()