Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lua_vmprep.h File Reference
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#include "httpd.h"
#include "apr_thread_rwlock.h"
#include "apr_strings.h"
#include "apr_tables.h"
#include "apr_hash.h"
#include "apr_buckets.h"
#include "apr_file_info.h"
#include "apr_time.h"
#include "apr_pools.h"
#include "apr_reslist.h"
Include dependency graph for lua_vmprep.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ap_lua_vm_spec
 
struct  ap_lua_mapped_handler_spec
 
struct  ap_lua_filter_handler_spec
 
struct  ap_lua_finfo
 
struct  ap_lua_server_spec
 

Macros

#define AP_LUA_SCOPE_UNSET   0
 
#define AP_LUA_SCOPE_ONCE   1
 
#define AP_LUA_SCOPE_REQUEST   2
 
#define AP_LUA_SCOPE_CONN   3
 
#define AP_LUA_SCOPE_THREAD   4
 
#define AP_LUA_SCOPE_SERVER   5
 
#define AP_LUA_CACHE_UNSET   0
 
#define AP_LUA_CACHE_NEVER   1
 
#define AP_LUA_CACHE_STAT   2
 
#define AP_LUA_CACHE_FOREVER   3
 
#define AP_LUA_FILTER_INPUT   1
 
#define AP_LUA_FILTER_OUTPUT   2
 

Typedefs

typedef void(* ap_lua_state_open_callback )(lua_State *L, apr_pool_t *p, void *ctx)
 

Functions

void ap_lua_load_apache2_lmodule (lua_State *L)
 
lua_State * ap_lua_get_lua_state (apr_pool_t *lifecycle_pool, ap_lua_vm_spec *spec, request_rec *r)
 
void ap_lua_init_mutex (apr_pool_t *pool, server_rec *s)
 

Macro Definition Documentation

#define AP_LUA_CACHE_FOREVER   3
#define AP_LUA_CACHE_NEVER   1
#define AP_LUA_CACHE_STAT   2
#define AP_LUA_CACHE_UNSET   0
#define AP_LUA_FILTER_INPUT   1
#define AP_LUA_FILTER_OUTPUT   2
#define AP_LUA_SCOPE_CONN   3
#define AP_LUA_SCOPE_ONCE   1
#define AP_LUA_SCOPE_REQUEST   2
#define AP_LUA_SCOPE_SERVER   5
#define AP_LUA_SCOPE_THREAD   4
#define AP_LUA_SCOPE_UNSET   0

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

typedef void(* ap_lua_state_open_callback)(lua_State *L, apr_pool_t *p, void *ctx)

Function Documentation

lua_State* ap_lua_get_lua_state ( apr_pool_t lifecycle_pool,
ap_lua_vm_spec spec,
request_rec r 
)
void ap_lua_init_mutex ( apr_pool_t pool,
server_rec s 
)
void ap_lua_load_apache2_lmodule ( lua_State *  L)

Fake out addition of the "apache2" module