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

Go to the source code of this file.

Functions

static request_recap_lua_check_request_rec (lua_State *L, int index)
 
static lua_db_handlelua_get_db_handle (lua_State *L)
 
static lua_db_result_setlua_get_result_set (lua_State *L)
 
int lua_db_close (lua_State *L)
 
int lua_db_gc (lua_State *L)
 
int lua_db_active (lua_State *L)
 
int lua_db_query (lua_State *L)
 
int lua_db_escape (lua_State *L)
 
int lua_db_get_row (lua_State *L)
 
int lua_db_select (lua_State *L)
 
int lua_db_prepared_select (lua_State *L)
 
int lua_db_prepared_query (lua_State *L)
 
int lua_db_prepare (lua_State *L)
 
int lua_db_prepared (lua_State *L)
 
static lua_db_handlelua_push_db_handle (lua_State *L, request_rec *r, int type, apr_pool_t *pool)
 
int lua_db_acquire (lua_State *L)
 

Variables

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

Function Documentation

◆ ap_lua_check_request_rec()

static request_rec * ap_lua_check_request_rec ( lua_State L,
int  index 
)
static

Definition at line 29 of file lua_dbd.c.

◆ lua_db_acquire()

int lua_db_acquire ( lua_State L)

Definition at line 725 of file lua_dbd.c.

◆ lua_db_active()

int lua_db_active ( lua_State L)

Definition at line 125 of file lua_dbd.c.

◆ lua_db_close()

int lua_db_close ( lua_State L)

Definition at line 59 of file lua_dbd.c.

◆ lua_db_escape()

int lua_db_escape ( lua_State L)

Definition at line 193 of file lua_dbd.c.

◆ lua_db_gc()

int lua_db_gc ( lua_State L)

Definition at line 94 of file lua_dbd.c.

◆ lua_db_get_row()

int lua_db_get_row ( lua_State L)

Definition at line 230 of file lua_dbd.c.

◆ lua_db_prepare()

int lua_db_prepare ( lua_State L)

Definition at line 543 of file lua_dbd.c.

◆ lua_db_prepared()

int lua_db_prepared ( lua_State L)

Definition at line 616 of file lua_dbd.c.

◆ lua_db_prepared_query()

int lua_db_prepared_query ( lua_State L)

Definition at line 473 of file lua_dbd.c.

◆ lua_db_prepared_select()

int lua_db_prepared_select ( lua_State L)

Definition at line 382 of file lua_dbd.c.

◆ lua_db_query()

int lua_db_query ( lua_State L)

Definition at line 152 of file lua_dbd.c.

◆ lua_db_select()

int lua_db_select ( lua_State L)

Definition at line 308 of file lua_dbd.c.

◆ lua_get_db_handle()

static lua_db_handle * lua_get_db_handle ( lua_State L)
static

Definition at line 37 of file lua_dbd.c.

◆ lua_get_result_set()

static lua_db_result_set * lua_get_result_set ( lua_State L)
static

Definition at line 45 of file lua_dbd.c.

◆ lua_push_db_handle()

static lua_db_handle * lua_push_db_handle ( lua_State L,
request_rec r,
int  type,
apr_pool_t pool 
)
static

Definition at line 667 of file lua_dbd.c.

Variable Documentation

◆ aplog_module_index

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

Definition at line 22 of file lua_dbd.c.

◆ lua_ap_dbd_close

apr_OFN_ap_dbd_close_t* lua_ap_dbd_close = NULL
static

Definition at line 23 of file lua_dbd.c.

◆ lua_ap_dbd_open

apr_OFN_ap_dbd_open_t* lua_ap_dbd_open = NULL
static

Definition at line 24 of file lua_dbd.c.