errno_t sbus_invoker_recv(struct tevent_req *req) { TEVENT_REQ_RETURN_ON_ERROR(req); return EOK; }
static int sdap_sudo_smart_refresh_recv(struct tevent_req *req, int *dp_error, int *error) { struct sdap_sudo_smart_refresh_state *state = NULL; state = tevent_req_data(req, struct sdap_sudo_smart_refresh_state); TEVENT_REQ_RETURN_ON_ERROR(req); return sdap_sudo_refresh_recv(state, state->subreq, dp_error, error, NULL, NULL); }
int sss_ldap_init_recv(struct tevent_req *req, LDAP **ldap, int *sd) { struct sss_ldap_init_state *state = tevent_req_data(req, struct sss_ldap_init_state); TEVENT_REQ_RETURN_ON_ERROR(req); /* Everything went well therefore we do not want to release resources */ talloc_set_destructor(state, NULL); *ldap = state->ldap; *sd = state->sd; return EOK; }
static int sdap_sudo_rules_refresh_recv(struct tevent_req *req, int *dp_error, int *error) { struct sdap_sudo_rules_refresh_state *state = NULL; state = tevent_req_data(req, struct sdap_sudo_rules_refresh_state); TEVENT_REQ_RETURN_ON_ERROR(req); *dp_error = state->dp_error; *error = state->error; return EOK; }