mod_lua: Redesign the table construction/access mechanism, so we pass on a struct with the request_rec, the table pointer and the table name instead of just the table pointer. This allows us to use the request_rec for logging/editing purposes, as well as inform the user which exact table in the request_rec was modified.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1582858 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2014-03-28 18:38:41 +00:00
parent 8ae663bc78
commit d38e1b6e83
5 changed files with 74 additions and 30 deletions

View File

@ -30,7 +30,7 @@
int ap_lua_init(lua_State *L, apr_pool_t * p);
apr_table_t *ap_lua_check_apr_table(lua_State *L, int index);
void ap_lua_push_apr_table(lua_State *L, apr_table_t *t);
req_table_t *ap_lua_check_apr_table(lua_State *L, int index);
void ap_lua_push_apr_table(lua_State *L, req_table_t *t);
#endif /* !_LUA_APR_H_ */