lua.c
changeset 128 8692a6fbe415
parent 125 3e2421384d7a
child 132 2827e775d5fa
--- a/lua.c	Tue Aug 07 20:58:31 2012 +0300
+++ b/lua.c	Tue Aug 21 15:29:27 2012 +0300
@@ -45,10 +45,17 @@
 #include "config.h"
 #include "util.h"
 
+/// Lua for mcabber
+/// Module provides embedded lua environment with some accessors to
+/// mcabber functionality.
+
 //
 //  options
 //
 
+/// Options
+/// * lua_init_filename - lua script, that will be loaded at startup
+/// * lua_lm_debug      - if lm log handler is enabled, this option controls, whether lm log messages are dropped or passed to mcabber logging facility
 #define OPT_MLUA_RC       "lua_init_filename"
 #define OPT_MLUA_LM_DEBUG "lua_lm_debug"