Lines Matching refs:req
72 static void ipa_dyndns_timer_connected(struct tevent_req *req);
78 struct tevent_req *req;
80 req = sdap_dyndns_timer_conn_send(ctx, sdap_ctx->be->ev, sdap_ctx,
82 if (req == NULL) {
88 tevent_req_set_callback(req, ipa_dyndns_timer_connected, ctx);
91 static void ipa_dyndns_timer_connected(struct tevent_req *req)
94 struct ipa_options *ctx = tevent_req_callback_data(req,
97 ret = sdap_dyndns_timer_conn_recv(req);
98 talloc_zfree(req);
110 static errno_t ipa_dyndns_update_recv(struct tevent_req *req);
122 struct tevent_req *req = ipa_dyndns_update_send(ctx);
123 if (req == NULL) {
127 tevent_req_set_callback(req, ipa_dyndns_nsupdate_done, NULL);
130 static void ipa_dyndns_nsupdate_done(struct tevent_req *req)
132 int ret = ipa_dyndns_update_recv(req);
133 talloc_free(req);
154 struct tevent_req *req, *subreq;
159 req = tevent_req_create(ctx, &state, struct ipa_dyndns_update_state);
160 if (req == NULL) {
189 tevent_req_done(req);
190 tevent_req_post(req, sdap_ctx->be->ev);
191 return req;
223 tevent_req_set_callback(subreq, ipa_dyndns_sdap_update_done, req);
228 tevent_req_error(req, ret);
229 tevent_req_post(req, sdap_ctx->be->ev);
231 return req;
236 struct tevent_req *req = tevent_req_callback_data(subreq, struct tevent_req);
244 tevent_req_error(req, ret);
248 tevent_req_done(req);
251 static errno_t ipa_dyndns_update_recv(struct tevent_req *req)
253 TEVENT_REQ_RETURN_ON_ERROR(req);