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

Function lua_ap_allowoverrides

modules/lua/lua_request.c:781–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781static const char* lua_ap_allowoverrides(request_rec* r)
782{
783 int opts;
784 opts = ap_allow_overrides(r);
785 if ( (opts & OR_ALL) == OR_ALL) {
786 return "All";
787 }
788 else if (opts == OR_NONE) {
789 return "None";
790 }
791 return apr_psprintf(r->pool, "%s %s %s %s %s", (opts & OR_LIMIT) ? "Limit" : "", (opts & OR_OPTIONS) ? "Options" : "", (opts & OR_FILEINFO) ? "FileInfo" : "", (opts & OR_AUTHCFG) ? "AuthCfg" : "", (opts & OR_INDEXES) ? "Indexes" : "" );
792
793}
794
795static int lua_ap_started(request_rec* r)
796{

Callers

nothing calls this directly

Calls 1

ap_allow_overridesFunction · 0.85

Tested by

no test coverage detected