Lines Matching refs:subreq

109 static void ipa_fetch_hbac_connect_done(struct tevent_req *subreq);
111 static void ipa_fetch_hbac_hostinfo_done(struct tevent_req *subreq);
112 static void ipa_fetch_hbac_services_done(struct tevent_req *subreq);
113 static void ipa_fetch_hbac_rules_done(struct tevent_req *subreq);
203 struct tevent_req *subreq;
208 subreq = sdap_id_op_connect_send(state->sdap_op, state, &ret);
209 if (subreq == NULL) {
215 tevent_req_set_callback(subreq, ipa_fetch_hbac_connect_done, req);
220 static void ipa_fetch_hbac_connect_done(struct tevent_req *subreq)
226 req = tevent_req_callback_data(subreq, struct tevent_req);
228 ret = sdap_id_op_connect_recv(subreq, &dp_error);
229 talloc_zfree(subreq);
256 struct tevent_req *subreq;
279 subreq = ipa_host_info_send(state, state->ev,
285 if (subreq == NULL) {
289 tevent_req_set_callback(subreq, ipa_fetch_hbac_hostinfo_done, req);
294 static void ipa_fetch_hbac_hostinfo_done(struct tevent_req *subreq)
300 req = tevent_req_callback_data(subreq, struct tevent_req);
303 ret = ipa_host_info_recv(subreq, state,
310 talloc_zfree(subreq);
315 subreq = ipa_hbac_service_info_send(state, state->ev,
319 if (subreq == NULL) {
324 tevent_req_set_callback(subreq, ipa_fetch_hbac_services_done, req);
337 static void ipa_fetch_hbac_services_done(struct tevent_req *subreq)
343 req = tevent_req_callback_data(subreq, struct tevent_req);
346 ret = ipa_hbac_service_info_recv(subreq, state,
353 talloc_zfree(subreq);
368 subreq = ipa_hbac_rule_info_send(state, state->ev,
373 if (subreq == NULL) {
378 tevent_req_set_callback(subreq, ipa_fetch_hbac_rules_done, req);
391 static void ipa_fetch_hbac_rules_done(struct tevent_req *subreq)
399 req = tevent_req_callback_data(subreq, struct tevent_req);
402 ret = ipa_hbac_rule_info_recv(subreq, state,
406 talloc_zfree(subreq);
555 static void ipa_pam_access_handler_sdap_done(struct tevent_req *subreq);
556 static void ipa_pam_access_handler_done(struct tevent_req *subreq);
565 struct tevent_req *subreq;
580 subreq = sdap_access_send(state, params->ev, params->be_ctx,
583 if (subreq == NULL) {
588 tevent_req_set_callback(subreq, ipa_pam_access_handler_sdap_done, req);
600 static void ipa_pam_access_handler_sdap_done(struct tevent_req *subreq)
606 req = tevent_req_callback_data(subreq, struct tevent_req);
609 ret = sdap_access_recv(subreq);
610 talloc_free(subreq);
629 subreq = ipa_fetch_hbac_send(state, state->ev, state->be_ctx,
631 if (subreq == NULL) {
636 tevent_req_set_callback(subreq, ipa_pam_access_handler_done, req);
645 static void ipa_pam_access_handler_done(struct tevent_req *subreq)
651 req = tevent_req_callback_data(subreq, struct tevent_req);
654 ret = ipa_fetch_hbac_recv(subreq);
655 talloc_free(subreq);
703 static void ipa_refresh_access_rules_done(struct tevent_req *subreq);
712 struct tevent_req *subreq;
724 subreq = ipa_fetch_hbac_send(state, params->ev, params->be_ctx, access_ctx);
725 if (subreq == NULL) {
731 tevent_req_set_callback(subreq, ipa_refresh_access_rules_done, req);
736 static void ipa_refresh_access_rules_done(struct tevent_req *subreq)
741 req = tevent_req_callback_data(subreq, struct tevent_req);
743 ret = ipa_fetch_hbac_recv(subreq);
744 talloc_zfree(subreq);