C/C++ Reference
The Lua Server Pages (LSP) Plugin.

balua.h is header file that provides the *public* symbols for creating, destroying and configuring an LSP VM. More...

Collaboration diagram for The Lua Server Pages (LSP) Plugin.:

Classes

struct  BaLua_param
 The startup and runtime parameters for a Barracuda Server Lua VM. More...
struct  LHttpDir

Functions

BA_API lua_State * _balua_create (const BaLua_param *p, int version)
 Creates the Barracuda Lua VM; Note: use macro balua_create(BaLua_param).
BA_API int balua_usertracker_create (lua_State *L, U32 noOfLoginTrackerNodes, U32 maxNumberOfLogins, BaTime banTime)
 Install the Lua version of the client login tracker.

Detailed Description

balua.h is header file that provides the *public* symbols for creating, destroying and configuring an LSP VM.

Creating and initializing A Barracuda Lua VM consists of calling balua_create() and calling balua_loadconfig().

See the C startup source code for the two following examples for more information on how to initialize the LSP plugin: