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

Function lua_ap_exists_config_define

modules/lua/lua_request.c:1819–1828  ·  view source on GitHub ↗

* ap_exists_config_define (const char *name) * Check for a definition from the server command line * @param name The define to check for * @return 1 if defined, 0 otherwise */

Source from the content-addressed store, hash-verified

1817 * @return 1 if defined, 0 otherwise
1818 */
1819static int lua_ap_exists_config_define(lua_State *L)
1820{
1821 int returnValue;
1822 const char *name;
1823 luaL_checktype(L, 1, LUA_TSTRING);
1824 name = lua_tostring(L, 1);
1825 returnValue = ap_exists_config_define(name);
1826 lua_pushboolean(L, returnValue);
1827 return 1;
1828}
1829
1830static int lua_ap_get_server_name_for_url(lua_State *L)
1831{

Callers

nothing calls this directly

Calls 1

ap_exists_config_defineFunction · 0.85

Tested by

no test coverage detected