op->o_callback->sc_response = authzid_response;
op->o_callback->sc_cleanup = authzid_cleanup;
op->o_callback->sc_private = NULL;
+ op->o_callback->sc_writewait = NULL;
op->o_callback->sc_next = sc;
}
rm_cb->sc_cleanup = overlay_remove_cb;
rm_cb->sc_response = NULL;
rm_cb->sc_private = (void*) rm_ctx;
+ rm_cb->sc_writewait = NULL;
/* Append callback to the end of the list */
if ( !op->o_callback ) {
case CONSTRAINT_URI: {
Operation nop = *op;
slap_overinst *on = (slap_overinst *) op->o_bd->bd_info;
- slap_callback cb;
+ slap_callback cb = { 0 };
int i;
int found = 0;
int rc;
struct berval filterstr;
char *ptr;
- cb.sc_next = NULL;
cb.sc_response = constraint_uri_cb;
- cb.sc_cleanup = NULL;
cb.sc_private = &found;
nop.o_protocol = LDAP_VERSION3;
sc->sc_response = dds_counter_cb;
sc->sc_private = di;
sc->sc_next = op->o_callback;
+ sc->sc_writewait = 0;
op->o_callback = sc;
}
sc->sc_cleanup = dds_freeit_cb;
sc->sc_response = dds_counter_cb;
sc->sc_private = di;
+ sc->sc_writewait = 0;
sc->sc_next = op->o_callback;
op->o_callback = sc;
dynlist_prepare_entry( Operation *op, SlapReply *rs, dynlist_info_t *dli )
{
Attribute *a, *id = NULL;
- slap_callback cb;
+ slap_callback cb = { 0 };
Operation o = *op;
struct berval *url;
Entry *e;
dlc.dlc_dli = dli;
cb.sc_private = &dlc;
cb.sc_response = dynlist_sc_update;
- cb.sc_cleanup = NULL;
- cb.sc_next = NULL;
o.o_callback = &cb;
o.ors_deref = LDAP_DEREF_NEVER;
sc->sc_private = sc+1;
sc->sc_response = memberof_res_add;
sc->sc_cleanup = memberof_cleanup;
+ sc->sc_writewait = 0;
mci = sc->sc_private;
mci->on = on;
mci->member = NULL;
sc->sc_private = sc+1;
sc->sc_response = memberof_res_delete;
sc->sc_cleanup = memberof_cleanup;
+ sc->sc_writewait = 0;
mci = sc->sc_private;
mci->on = on;
mci->member = NULL;
sc->sc_private = sc+1;
sc->sc_response = memberof_res_modify;
sc->sc_cleanup = memberof_cleanup;
+ sc->sc_writewait = 0;
mci = sc->sc_private;
mci->on = on;
mci->member = NULL;
sc->sc_private = sc+1;
sc->sc_response = memberof_res_modrdn;
sc->sc_cleanup = memberof_cleanup;
+ sc->sc_writewait = 0;
mci = sc->sc_private;
mci->on = on;
mci->member = NULL;
QueryTemplate *temp;
Entry *e;
slap_callback cb = { 0 }, *sc;
- bindinfo bi;
+ bindinfo bi = { 0 };
bindcacheinfo *bci;
Operation op2;
int rc;
op2 = *op;
op2.o_dn = op->o_bd->be_rootdn;
op2.o_ndn = op->o_bd->be_rootndn;
- bi.bi_flags = 0;
op2.o_bd = &cm->db;
e = NULL;
*/
bi.bi_cm = cm;
bi.bi_templ = temp;
- bi.bi_cq = NULL;
- bi.bi_si = NULL;
bi.bi_cb.sc_response = pc_bind_search;
- bi.bi_cb.sc_cleanup = NULL;
bi.bi_cb.sc_private = &bi;
cb.sc_private = &bi;
cb.sc_response = pc_bind_resp;
sc->sc_response = pc_bind_save;
sc->sc_cleanup = NULL;
sc->sc_private = sc+1;
+ sc->sc_writewait = NULL;
bci = sc->sc_private;
sc->sc_next = op->o_callback;
op->o_callback = sc;
cb->sc_response = pcache_response;
cb->sc_cleanup = pcache_op_cleanup;
cb->sc_private = (cb+1);
+ cb->sc_writewait = 0;
si = cb->sc_private;
si->on = on;
si->query = query;
cb->sc_response = sssvlv_op_response;
cb->sc_next = op->o_callback;
cb->sc_private = so;
+ cb->sc_writewait = NULL;
so->so_tree = NULL;
so->so_ctrl = sc;
syncops so = {0};
fbase_cookie fc;
opcookie opc;
- slap_callback sc;
+ slap_callback sc = {0};
fc.fss = &so;
fc.fbase = 0;
cb->sc_response = slapi_over_response;
cb->sc_cleanup = slapi_over_cleanup;
cb->sc_private = pb;
+ cb->sc_writewait = 0;
cb->sc_next = op->o_callback;
op->o_callback = cb;
}
cb.sc_response = NULL;
cb.sc_cleanup = NULL;
+ cb.sc_writewait = NULL;
pb = SLAPI_OPERATION_PBLOCK( op );
cb.sc_response = NULL;
cb.sc_cleanup = NULL;
+ cb.sc_writewait = NULL;
pb = SLAPI_OPERATION_PBLOCK( op );
sc->sc_private = mx;
sc->sc_next = op->o_callback;
sc->sc_cleanup = NULL;
+ sc->sc_writewait = NULL;
op->o_callback = sc;
op->orm_no_opattrs = 1;
mx->mx_orig = op->orm_modlist;