Lines Matching refs:dmacc
472 const char *realm, const char *field, int dmacc) in db_get_val() argument
478 field, dmacc ? "osu_user" : "identity", in db_get_val()
493 "value='%s'", user, realm, field, dmacc, data.value); in db_get_val()
501 const char *val, int dmacc) in db_update_val() argument
507 field, val, dmacc ? "osu_user" : "identity", user, in db_update_val()
564 const char *realm, const char *pw, int dmacc) in update_password() argument
571 pw, dmacc ? "osu_user" : "identity", in update_password()
587 const char *realm, int dmacc) in clear_remediation() argument
592 dmacc ? "osu_user" : "identity", in clear_remediation()
835 int machine_rem, int dmacc) in build_sub_rem_resp() argument
844 cert = db_get_val(ctx, user, realm, "cert", dmacc); in build_sub_rem_resp()
856 subrem = db_get_val(ctx, user, realm, "subrem", dmacc); in build_sub_rem_resp()
872 if (dmacc) { in build_sub_rem_resp()
874 dmacc); in build_sub_rem_resp()
952 const char *session_id, int dmacc) in machine_remediation() argument
954 return build_sub_rem_resp(ctx, user, realm, session_id, 1, dmacc); in machine_remediation()
971 const char *session_id, int dmacc) in policy_remediation() argument
984 policy = build_policy(ctx, user, realm, dmacc); in policy_remediation()
1104 int dmacc, in hs20_subscription_remediation() argument
1111 identity = db_get_val(ctx, user, realm, "identity", dmacc); in hs20_subscription_remediation()
1130 type = db_get_val(ctx, user, realm, "remediation", dmacc); in hs20_subscription_remediation()
1134 val = db_get_val(ctx, user, realm, "shared", dmacc); in hs20_subscription_remediation()
1150 ret = policy_remediation(ctx, user, realm, session_id, dmacc); in hs20_subscription_remediation()
1152 ret = machine_remediation(ctx, user, realm, session_id, dmacc); in hs20_subscription_remediation()
1235 const char *session_id, int dmacc) in hs20_policy_update() argument
1244 identity = db_get_val(ctx, user, realm, "identity", dmacc); in hs20_policy_update()
1256 policy = build_policy(ctx, user, realm, dmacc); in hs20_policy_update()
1408 const char *realm, int dmacc, in hs20_user_input_remediation() argument
1411 return build_sub_rem_resp(ctx, user, realm, session_id, 0, dmacc); in hs20_user_input_remediation()
1800 const char *realm, int dmacc, in hs20_user_input_complete() argument
1816 return hs20_user_input_remediation(ctx, user, realm, dmacc, in hs20_user_input_complete()
1903 const char *realm, int dmacc, in hs20_cert_enroll_completed() argument
1931 const char *realm, int dmacc, in hs20_cert_enroll_failed() argument
1971 const char *realm, int dmacc, in hs20_sim_provisioning() argument
2071 int dmacc) in hs20_spp_post_dev_data() argument
2235 db_update_val(ctx, user, realm, "fetch_pps", "0", dmacc); in hs20_spp_post_dev_data()
2244 fetch = db_get_val(ctx, user, realm, "fetch_pps", dmacc); in hs20_spp_post_dev_data()
2304 session_id, dmacc, in hs20_spp_post_dev_data()
2312 ret = hs20_policy_update(ctx, user, realm, session_id, dmacc); in hs20_spp_post_dev_data()
2322 ret = hs20_user_input_complete(ctx, user, realm, dmacc, in hs20_spp_post_dev_data()
2330 ret = hs20_cert_enroll_completed(ctx, user, realm, dmacc, in hs20_spp_post_dev_data()
2338 ret = hs20_cert_enroll_failed(ctx, user, realm, dmacc, in hs20_spp_post_dev_data()
2347 ret = hs20_sim_provisioning(ctx, user, realm, dmacc, in hs20_spp_post_dev_data()
2591 int dmacc) in hs20_spp_update_response() argument
2652 if (update_password(ctx, user, realm, new_pw, dmacc) < in hs20_spp_update_response()
2673 if (clear_remediation(ctx, user, realm, dmacc) < 0) { in hs20_spp_update_response()
2709 dmacc); in hs20_spp_update_response()
2712 "", dmacc); in hs20_spp_update_response()
2717 dmacc); in hs20_spp_update_response()
2810 const char *auth_realm, int dmacc) in hs20_spp_server_process() argument
2820 if (!dmacc && auth_user && auth_realm) { in hs20_spp_server_process()
2827 dmacc = 1; in hs20_spp_server_process()
2886 session_id, dmacc); in hs20_spp_server_process()
2892 auth_realm, session_id, dmacc); in hs20_spp_server_process()