48 #if LUA_VERSION_NUM > 501
50 #define lua_load(a,b,c,d) lua_load(a,b,c,d,NULL)
51 #define lua_resume(a,b) lua_resume(a, NULL, b)
52 #define luaL_setfuncs_compat(a,b) luaL_setfuncs(a,b,0)
54 #define lua_rawlen(L,i) lua_objlen(L, (i))
55 #define luaL_setfuncs_compat(a,b) luaL_register(a,NULL,b)
57 #if LUA_VERSION_NUM > 502
58 #define lua_dump(a,b,c) lua_dump(a,b,c,0)
65 #define AP_LUA_DECLARE(type) type
66 #define AP_LUA_DECLARE_NONSTD(type) type
67 #define AP_LUA_DECLARE_DATA
68 #elif defined(AP_LUA_DECLARE_STATIC)
69 #define AP_LUA_DECLARE(type) type __stdcall
70 #define AP_LUA_DECLARE_NONSTD(type) type
71 #define AP_LUA_DECLARE_DATA
72 #elif defined(AP_LUA_DECLARE_EXPORT)
73 #define AP_LUA_DECLARE(type) __declspec(dllexport) type __stdcall
74 #define AP_LUA_DECLARE_NONSTD(type) __declspec(dllexport) type
75 #define AP_LUA_DECLARE_DATA __declspec(dllexport)
77 #define AP_LUA_DECLARE(type) __declspec(dllimport) type __stdcall
78 #define AP_LUA_DECLARE_NONSTD(type) __declspec(dllimport) type
79 #define AP_LUA_DECLARE_DATA __declspec(dllimport)
97 #ifndef lua_boxpointer
98 #define lua_boxpointer(L,u) (*(void **)(lua_newuserdata(L, sizeof(void *))) = (u))
99 #define lua_unboxpointer(L,i) (*(void **)(lua_touserdata(L, i)))
161 const char *
function;
const char * dir
Definition: mod_lua.h:128
APR Reader/Writer Lock Routines.
lua_State * L
Definition: mod_lua.h:160
ap_lua_inherit_t
Definition: mod_lua.h:86
apr_array_header_t * mapped_handlers
Definition: mod_lua.h:112
apr_hash_t * hooks
Definition: mod_lua.h:125
Definition: mod_lua.h:152
void ap_lua_rstack_dump(lua_State *L, request_rec *r, const char *msg)
unsigned int vm_scope
Definition: mod_lua.h:120
ap_lua_vm_spec * spec
Definition: mod_lua.h:149
unsigned int vm_max
Definition: mod_lua.h:122
Structure to store things which are per connection.
Definition: httpd.h:1116
APR-UTIL Resource List Routines.
const char * function_name
Definition: mod_lua.h:148
Symbol export macros and hook functions.
apr_pool_t * pool
Definition: mod_lua.h:115
mapped_request_details * mapped_request_details
Definition: mod_lua.h:154
apr_array_header_t * package_paths
Definition: mod_lua.h:106
Definition: mod_lua.h:104
A structure to store information for each virtual server.
Definition: httpd.h:1310
#define APR_DECLARE_EXTERNAL_HOOK(ns, link, ret, name, args)
Definition: apr_hooks.h:118
APR-UTIL Buckets/Bucket Brigades.
unsigned int codecache
Definition: mod_lua.h:136
module AP_MODULE_DECLARE_DATA lua_module
struct apr_hash_t apr_hash_t
Definition: apr_hash.h:52
apr_hash_t * request_scoped_vms
Definition: mod_lua.h:155
Definition: mod_lua.h:140
Definition: mod_lua.h:158
#define AP_MODULE_DECLARE_DATA
Definition: macros.h:16
Definition: mod_lua.h:146
Definition: lua_vmprep.h:58
A structure that represents the current request.
Definition: httpd.h:806
int ap_lua_ssl_is_https(conn_rec *c)
apr_array_header_t * mapped_filters
Definition: mod_lua.h:113
apr_array_header_t * package_cpaths
Definition: mod_lua.h:107
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
Definition: http_config.h:355
request_rec * r
Definition: mod_dav.h:515
ap_lua_inherit_t inherit
Definition: mod_lua.h:131
const char * root_path
Definition: mod_lua.h:143
const char * ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, const char *var)
unsigned int vm_min
Definition: mod_lua.h:121