Lines Matching defs:subreq
33 static void wb_next_grent_fetch_done(struct tevent_req *subreq);
34 static void wb_next_grent_getgrsid_done(struct tevent_req *subreq);
42 struct tevent_req *req, *subreq;
72 subreq = rpccli_wbint_QueryGroupList_send(
75 if (tevent_req_nomem(subreq, req)) {
78 tevent_req_set_callback(subreq, wb_next_grent_fetch_done, req);
82 subreq = wb_getgrsid_send(
86 if (tevent_req_nomem(subreq, req)) {
89 tevent_req_set_callback(subreq, wb_next_grent_getgrsid_done, req);
93 static void wb_next_grent_fetch_done(struct tevent_req *subreq)
96 subreq, struct tevent_req);
101 status = rpccli_wbint_QueryGroupList_recv(subreq, state, &result);
102 TALLOC_FREE(subreq);
128 subreq = rpccli_wbint_QueryGroupList_send(
131 if (tevent_req_nomem(subreq, req)) {
134 tevent_req_set_callback(subreq, wb_next_grent_fetch_done, req);
140 subreq = wb_getgrsid_send(
144 if (tevent_req_nomem(subreq, req)) {
147 tevent_req_set_callback(subreq, wb_next_grent_getgrsid_done, req);
151 static void wb_next_grent_getgrsid_done(struct tevent_req *subreq)
154 subreq, struct tevent_req);
160 status = wb_getgrsid_recv(subreq, talloc_tos(), &domname, &name,
162 TALLOC_FREE(subreq);