Lines Matching defs:rctx
33 struct resp_ctx *rctx;
36 rctx = talloc_zero(mem_ctx, struct resp_ctx);
37 if (!rctx) return NULL;
39 ret = sss_hash_create(rctx, 30, &rctx->dp_request_table);
41 talloc_free(rctx);
45 ret = sss_ncache_init(rctx, 10, 0, &rctx->ncache);
47 talloc_free(rctx);
51 rctx->ev = ev;
52 rctx->domains = domains;
53 rctx->pvt_ctx = pvt_ctx;
55 ret = sss_resp_populate_cr_domains(rctx);
60 return rctx;
65 mock_cctx(TALLOC_CTX *mem_ctx, struct resp_ctx *rctx)
72 cctx->rctx = rctx;
73 cctx->ev = rctx->ev;