Lines Matching defs:cfg
25 ap_lua_dir_cfg *cfg;
27 cfg = (ap_lua_dir_cfg *) lua_unboxpointer(L, index);
28 return cfg;
54 apr_status_t ap_lua_map_handler(ap_lua_dir_cfg *cfg,
63 apr_pcalloc(cfg->pool, sizeof(ap_lua_mapped_handler_spec));
67 uri_pattern = apr_palloc(cfg->pool, sizeof(ap_regex_t));
71 handler->file_name = apr_pstrdup(cfg->pool, file);
75 handler->function_name = apr_pstrdup(cfg->pool, function);
76 *(const ap_lua_mapped_handler_spec **) apr_array_push(cfg->mapped_handlers) =
84 ap_lua_dir_cfg *cfg = check_dir_config(L, 1);
86 apr_pcalloc(cfg->pool, sizeof(ap_lua_mapped_handler_spec));
94 handler->file_name = apr_pstrdup(cfg->pool, file);
102 ap_regex_t *uri_pattern = apr_palloc(cfg->pool, sizeof(ap_regex_t));
124 handler->function_name = apr_pstrdup(cfg->pool, value);
132 *(const ap_lua_mapped_handler_spec **) apr_array_push(cfg->mapped_handlers) =
139 ap_lua_dir_cfg *cfg = check_dir_config(L, 1);
140 lua_pushstring(L, cfg->dir);
145 ap_lua_dir_cfg *cfg = check_dir_config(L, 1);
146 lua_pushstring(L, cfg->root_path);