Lines Matching refs:req
42 struct tevent_req *req;
46 req = tevent_req_create(mem_ctx, &state, struct sdap_online_check_state);
47 if (req == NULL) {
63 tevent_req_set_callback(subreq, sdap_online_check_connect_done, req);
65 return req;
69 tevent_req_done(req);
71 tevent_req_error(req, ret);
73 tevent_req_post(req, be_ctx->ev);
75 return req;
83 struct tevent_req *req;
88 req = tevent_req_callback_data(subreq, struct tevent_req);
89 state = tevent_req_data(req, struct sdap_online_check_state);
133 tevent_req_set_callback(subreq, sdap_online_check_reinit_done, req);
141 tevent_req_error(req, ret);
145 tevent_req_done(req);
150 struct tevent_req *req;
153 req = tevent_req_callback_data(subreq, struct tevent_req);
165 tevent_req_done(req);
168 static errno_t sdap_online_check_recv(struct tevent_req *req)
170 TEVENT_REQ_RETURN_ON_ERROR(req);
189 struct tevent_req *req;
192 req = tevent_req_create(mem_ctx, &state,
194 if (req == NULL) {
205 tevent_req_set_callback(subreq, sdap_online_check_handler_done, req);
207 return req;
213 tevent_req_done(req);
214 tevent_req_post(req, params->ev);
216 return req;
222 struct tevent_req *req;
225 req = tevent_req_callback_data(subreq, struct tevent_req);
226 state = tevent_req_data(req, struct sdap_online_check_handler_state);
233 tevent_req_done(req);
237 struct tevent_req *req,
242 state = tevent_req_data(req, struct sdap_online_check_handler_state);
244 TEVENT_REQ_RETURN_ON_ERROR(req);