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

Function apl_toscope

modules/lua/lua_config.c:39–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static int apl_toscope(const char *name)
40{
41 if (0 == strcmp("once", name))
42 return AP_LUA_SCOPE_ONCE;
43 if (0 == strcmp("request", name))
44 return AP_LUA_SCOPE_REQUEST;
45 if (0 == strcmp("connection", name))
46 return AP_LUA_SCOPE_CONN;
47 if (0 == strcmp("conn", name))
48 return AP_LUA_SCOPE_CONN;
49 if (0 == strcmp("thread", name))
50 return AP_LUA_SCOPE_THREAD;
51 return AP_LUA_SCOPE_ONCE;
52}
53
54apr_status_t ap_lua_map_handler(ap_lua_dir_cfg *cfg,
55 const char *file,

Callers 2

ap_lua_map_handlerFunction · 0.85
cfg_lua_map_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected