Lines Matching refs:mem_ctx
28 struct sdap_id_ctx *mock_sdap_id_ctx(TALLOC_CTX *mem_ctx,
34 sdap_id_ctx = talloc_zero(mem_ctx, struct sdap_id_ctx);
43 struct sdap_options *mock_sdap_options_ldap(TALLOC_CTX *mem_ctx,
51 ret = ldap_get_options(mem_ctx, domain, confdb_ctx, conf_path, NULL, &opts);
59 struct sdap_handle *mock_sdap_handle(TALLOC_CTX *mem_ctx)
61 struct sdap_handle *handle = talloc_zero(mem_ctx, struct sdap_handle);
84 struct tevent_req *sdap_get_generic_send(TALLOC_CTX *mem_ctx,
97 return test_req_succeed_send(mem_ctx, ev);
101 TALLOC_CTX *mem_ctx,
113 struct tevent_req * sdap_deref_search_send(TALLOC_CTX *mem_ctx,
124 return test_req_succeed_send(mem_ctx, ev);
128 TALLOC_CTX *mem_ctx,
135 *reply = talloc_steal(mem_ctx,