* 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 */
| 1817 | * @return 1 if defined, 0 otherwise |
| 1818 | */ |
| 1819 | static 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 | |
| 1830 | static int lua_ap_get_server_name_for_url(lua_State *L) |
| 1831 | { |
nothing calls this directly
no test coverage detected