Lines Matching refs:subreq
44 hosts_get_connect_done(struct tevent_req *subreq);
46 hosts_get_done(struct tevent_req *subreq);
95 struct tevent_req *subreq;
98 subreq = sdap_id_op_connect_send(state->op, state, &ret);
99 if (!subreq) {
103 tevent_req_set_callback(subreq, hosts_get_connect_done, req);
108 hosts_get_connect_done(struct tevent_req *subreq)
110 struct tevent_req *req = tevent_req_callback_data(subreq,
117 ret = sdap_id_op_connect_recv(subreq, &dp_error);
118 talloc_zfree(subreq);
126 subreq = sdap_host_info_send(state, state->ev,
131 if (!subreq) {
135 tevent_req_set_callback(subreq, hosts_get_done, req);
139 hosts_get_done(struct tevent_req *subreq)
141 struct tevent_req *req = tevent_req_callback_data(subreq,
150 ret = sdap_host_info_recv(subreq, state,
152 talloc_zfree(subreq);
237 static void sdap_hostid_handler_done(struct tevent_req *subreq);
246 struct tevent_req *subreq;
256 subreq = hosts_get_send(state, params->ev, id_ctx,
258 if (subreq == NULL) {
264 tevent_req_set_callback(subreq, sdap_hostid_handler_done, req);
278 static void sdap_hostid_handler_done(struct tevent_req *subreq)
285 req = tevent_req_callback_data(subreq, struct tevent_req);
288 ret = hosts_get_recv(subreq, &dp_error);
289 talloc_zfree(subreq);