37 #include <mcabber/hooks.h> // hk_add_handler, hk_del_handler |
37 #include <mcabber/hooks.h> // hk_add_handler, hk_del_handler |
38 #include <mcabber/settings.h> // settings_set, settings_del, settings_get |
38 #include <mcabber/settings.h> // settings_set, settings_del, settings_get |
39 #include <mcabber/compl.h> // compl_new_category, compl_add_category_word, compl_del_category_word |
39 #include <mcabber/compl.h> // compl_new_category, compl_add_category_word, compl_del_category_word |
40 #include <mcabber/events.h> // evs_* |
40 #include <mcabber/events.h> // evs_* |
41 #include <mcabber/modules.h> // module_info_t |
41 #include <mcabber/modules.h> // module_info_t |
42 #include <mcabber/api.h> // mcabber_branch, mcabber_api_version |
42 #include <mcabber/api.h> // mcabber_branch, mcabber_api_version, MCABBER_API_HAVE_CMD_ID |
43 #include <mcabber/main.h> // mcabber_version |
43 #include <mcabber/main.h> // mcabber_version |
44 |
44 |
45 #include "config.h" |
45 #include "config.h" |
46 #include "util.h" |
46 #include "util.h" |
47 |
47 |
48 // module description |
48 // module description |
49 static void mlua_init (void); |
49 void mlua_init (void); |
50 static void mlua_uninit (void); |
50 void mlua_uninit (void); |
51 |
51 |
52 #ifdef LLM_LOG_HANDLER |
52 #ifdef LLM_LOG_HANDLER |
53 #define DESCRIPTION ( \ |
53 #define DESCRIPTION ( \ |
54 "Lua scripting interface\n" \ |
54 "Lua scripting interface\n" \ |
55 "Recognizes options lua_init_file, lua_hook_function and lua_lm_debug\n" \ |
55 "Recognizes options lua_init_file, lua_hook_function and lua_lm_debug\n" \ |