Lines Matching refs:sbus_req
32 static void dp_pam_reply(struct sbus_request *sbus_req,
42 reply = dbus_message_new_method_return(sbus_req->message);
57 sbus_request_finish(sbus_req, reply);
63 struct sbus_request *sbus_req,
72 bret = dp_unpack_pam_request(sbus_req->message, mem_ctx, &pd, &dbus_error);
172 struct sbus_request *sbus_req;
179 errno_t dp_pam_handler(struct sbus_request *sbus_req, void *sbus_data)
194 state = talloc_zero(sbus_req, struct dp_pam_handler_state);
200 ret = pam_data_create(state, sbus_req, provider->be_ctx, &pd);
207 state->sbus_req = sbus_req;
215 dp_pam_reply(sbus_req, req_name, pd);
261 dp_req_reply_error(state->sbus_req, state->request_name, ret);
266 /* State and request related data are freed with sbus_req. */
267 dp_pam_reply(state->sbus_req, state->request_name, pd);
277 talloc_free(state->sbus_req);
295 dp_req_reply_error(state->sbus_req, state->request_name, ret);
299 /* State and request related data are freed with sbus_req. */
300 dp_pam_reply(state->sbus_req, state->request_name, pd);