Barracuda Application Server C/C++ Reference
NO
BaLua_param Struct Reference

Detailed Description

Startup and runtime parameters for a BAS Lua VM.

For param zipBinPwd and zipBinPwdLen, use binpwd2str for generating the password C code. See Signed and Encrypted ZIP files for details.

#include <balua.h>

Public Attributes

lua_State * L
 Lua state created or used by this VM.
 
HttpServerserver
 Server associated with this VM.
 
struct BaTimertimer
 Timer bindings activated if not NULL.
 
IoIntfvmio
 Required VM I/O interface used for Lua resources.
 
ThreadMutexmutex
 Mutex used by the server's SoDisp.
 
struct LoginTrackertracker
 Optional login tracker.
 
int errHndRef
 Internal: The ba.seterrh(func) ref.
 
const U8 * zipPubKey
 Set when zip signature check enabled.
 
const U8 * zipBinPwd
 Set the binary password for all ZIP files.
 
U16 zipBinPwdLen
 Binary password length.
 
BaBool pwdRequired
 Set to true to enforce password on all files.