| 366 | } |
| 367 | |
| 368 | static 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 | |
| 382 | static authz_section_conf* create_default_section(apr_pool_t *p) |
| 383 | { |
no outgoing calls
no test coverage detected