MCPcopy Create free account
hub / github.com/apache/httpd / expr_lookup_fn

Function expr_lookup_fn

modules/aaa/mod_authz_core.c:1063–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1061};
1062
1063static int expr_lookup_fn(ap_expr_lookup_parms *parms)
1064{
1065 if (parms->type == AP_EXPR_FUNC_VAR
1066 && strcasecmp(parms->name, "REMOTE_USER") == 0) {
1067 struct require_expr_info *info;
1068 apr_pool_userdata_get((void**)&info, REQUIRE_EXPR_NOTE, parms->ptemp);
1069 AP_DEBUG_ASSERT(info != NULL);
1070 info->want_user = 1;
1071 }
1072 return ap_expr_lookup_default(parms);
1073}
1074
1075static const char *expr_parse_config(cmd_parms *cmd, const char *require_line,
1076 const void **parsed_require_line)

Callers

nothing calls this directly

Calls 1

ap_expr_lookup_defaultFunction · 0.85

Tested by

no test coverage detected