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

Function register_map_handler

modules/lua/mod_lua.c:1493–1504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1491 function, APR_HOOK_MIDDLE);
1492}
1493static const char *register_map_handler(cmd_parms *cmd, void *_cfg,
1494 const char* match, const char *file, const char *function)
1495{
1496 const char *err = ap_check_cmd_context(cmd, NOT_IN_DIRECTORY|NOT_IN_FILES|
1497 NOT_IN_HTACCESS);
1498 if (err) {
1499 return err;
1500 }
1501 if (!function) function = "handle";
1502 return register_mapped_file_function_hook(match, cmd, _cfg, file,
1503 function);
1504}
1505static const char *register_output_filter(cmd_parms *cmd, void *_cfg,
1506 const char* filter, const char *file, const char *function)
1507{

Callers

nothing calls this directly

Calls 2

ap_check_cmd_contextFunction · 0.85

Tested by

no test coverage detected