Lines Matching refs:req
91 static void ad_dyndns_timer_connected(struct tevent_req *req);
97 struct tevent_req *req;
99 req = sdap_dyndns_timer_conn_send(ctx, sdap_ctx->be->ev, sdap_ctx,
101 if (req == NULL) {
107 tevent_req_set_callback(req, ad_dyndns_timer_connected, ctx);
110 static void ad_dyndns_timer_connected(struct tevent_req *req)
113 struct ad_options *ctx = tevent_req_callback_data(req, struct ad_options);
115 ret = sdap_dyndns_timer_conn_recv(req);
116 talloc_zfree(req);
127 static errno_t ad_dyndns_update_recv(struct tevent_req *req);
128 static void ad_dyndns_nsupdate_done(struct tevent_req *req);
134 struct tevent_req *req;
139 req = ad_dyndns_update_send(ctx);
140 if (req == NULL) {
144 tevent_req_set_callback(req, ad_dyndns_nsupdate_done, NULL);
147 static void ad_dyndns_nsupdate_done(struct tevent_req *req)
149 int ret = ad_dyndns_update_recv(req);
150 talloc_free(req);
171 struct tevent_req *req, *subreq;
177 req = tevent_req_create(ctx, &state, struct ad_dyndns_update_state);
178 if (req == NULL) {
187 tevent_req_done(req);
188 tevent_req_post(req, sdap_ctx->be->ev);
189 return req;
240 tevent_req_set_callback(subreq, ad_dyndns_sdap_update_done, req);
245 tevent_req_error(req, ret);
246 tevent_req_post(req, sdap_ctx->be->ev);
248 return req;
253 struct tevent_req *req = tevent_req_callback_data(subreq,
263 tevent_req_error(req, ret);
267 tevent_req_done(req);
270 static errno_t ad_dyndns_update_recv(struct tevent_req *req)
272 TEVENT_REQ_RETURN_ON_ERROR(req);