Lines Matching refs:subreq
66 static void ssh_cmd_get_user_pubkeys_done(struct tevent_req *subreq);
71 struct tevent_req *subreq;
101 subreq = cache_req_user_by_name_attrs_send(cmd_ctx, cli_ctx->ev,
106 if (subreq == NULL) {
112 tevent_req_set_callback(subreq, ssh_cmd_get_user_pubkeys_done, cmd_ctx);
125 static void ssh_cmd_get_user_pubkeys_done(struct tevent_req *subreq)
131 cmd_ctx = tevent_req_callback_data(subreq, struct ssh_cmd_ctx);
133 ret = cache_req_user_by_name_attrs_recv(cmd_ctx, subreq, &result);
134 talloc_zfree(subreq);
151 static void ssh_cmd_get_host_pubkeys_done(struct tevent_req *subreq);
156 struct tevent_req *subreq;
180 subreq = cache_req_host_by_name_send(cmd_ctx, cli_ctx->ev,
186 if (subreq == NULL) {
192 tevent_req_set_callback(subreq, ssh_cmd_get_host_pubkeys_done, cmd_ctx);
205 static void ssh_cmd_get_host_pubkeys_done(struct tevent_req *subreq)
213 cmd_ctx = tevent_req_callback_data(subreq, struct ssh_cmd_ctx);
216 ret = cache_req_host_by_name_recv(cmd_ctx, subreq, &result);
217 talloc_zfree(subreq);