-void mag_check_session(request_rec *req,
- struct mag_config *cfg, struct mag_conn **conn);
-void mag_attempt_session(request_rec *req,
- struct mag_config *cfg, struct mag_conn *mc);
-bool mag_basic_check(struct mag_config *cfg, struct mag_conn *mc,
+void mag_check_session(struct mag_req_cfg *cfg, struct mag_conn **conn);
+void mag_attempt_session(struct mag_req_cfg *cfg, struct mag_conn *mc);
+bool mag_basic_check(struct mag_req_cfg *cfg, struct mag_conn *mc,