Apache HTTPD
Functions | Variables
lua_apr.c File Reference
module lua_module
#include "mod_lua.h"
#include "lua_apr.h"

Go to the source code of this file.

Functions

req_table_tap_lua_check_apr_table (lua_State *L, int index)
 
void ap_lua_push_apr_table (lua_State *L, req_table_t *t)
 
static int lua_table_set (lua_State *L)
 
static int lua_table_get (lua_State *L)
 
int ap_lua_init (lua_State *L, apr_pool_t *p)
 

Variables

static int *const aplog_module_index = &( lua_module.module_index)
 
static const luaL_Reg lua_table_methods []
 

Function Documentation

◆ ap_lua_check_apr_table()

req_table_t * ap_lua_check_apr_table ( lua_State L,
int  index 
)

Definition at line 22 of file lua_apr.c.

◆ ap_lua_init()

int ap_lua_init ( lua_State L,
apr_pool_t p 
)

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.

Definition at line 88 of file lua_apr.c.

◆ ap_lua_push_apr_table()

void ap_lua_push_apr_table ( lua_State L,
req_table_t t 
)

Definition at line 31 of file lua_apr.c.

◆ lua_table_get()

static int lua_table_get ( lua_State L)
static

Definition at line 72 of file lua_apr.c.

◆ lua_table_set()

static int lua_table_set ( lua_State L)
static

Definition at line 38 of file lua_apr.c.

Variable Documentation

◆ aplog_module_index

int* const aplog_module_index = &( lua_module.module_index)
static

Definition at line 20 of file lua_apr.c.

◆ lua_table_methods

const luaL_Reg lua_table_methods[]
static
Initial value:
= {
{"set", lua_table_set},
{"get", lua_table_get},
{0, 0}
}
static int lua_table_set(lua_State *L)
Definition lua_apr.c:38
static int lua_table_get(lua_State *L)
Definition lua_apr.c:72

Definition at line 81 of file lua_apr.c.