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

Function format_authz_command

modules/aaa/mod_authz_core.c:368–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368static const char* format_authz_command(apr_pool_t *p,
369 authz_section_conf *section)
370{
371 return (section->provider
372 ? apr_pstrcat(p, "Require ", (section->negate ? "not " : ""),
373 section->provider_name, " ",
374 section->provider_args, NULL)
375 : apr_pstrcat(p, section->is_merged ? "AuthMerging " : "<Require",
376 ((section->op == AUTHZ_LOGIC_AND)
377 ? (section->negate ? "NotAll" : "All")
378 : (section->negate ? "None" : "Any")),
379 section->is_merged ? "" : ">", NULL));
380}
381
382static authz_section_conf* create_default_section(apr_pool_t *p)
383{

Callers 4

add_authz_providerFunction · 0.85
add_authz_sectionFunction · 0.85
authz_core_check_sectionFunction · 0.85
apply_authz_sectionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected