projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*ooops* spurious static ... readd dump_int
[apps/madmutt.git]
/
lib-lua
/
runtime.c
diff --git
a/lib-lua/runtime.c
b/lib-lua/runtime.c
index
1e806c4
..
55bdeef
100644
(file)
--- a/
lib-lua/runtime.c
+++ b/
lib-lua/runtime.c
@@
-23,6
+23,9
@@
#include "../alias.h"
#include "../mutt.h"
#include "../charset.h"
#include "../alias.h"
#include "../mutt.h"
#include "../charset.h"
+#include "../buffy.h"
+#include "../crypt.h"
+#include <lib-sys/mutt_ssl.li>
static lua_State *L;
static lua_State *L;
@@
-42,6
+45,9
@@
void luaM_initialize(void)
{"MAlias", luaopen_MAlias},
{"MCharset", luaopen_MCharset},
{"Mime", luaopen_Mime},
{"MAlias", luaopen_MAlias},
{"MCharset", luaopen_MCharset},
{"Mime", luaopen_Mime},
+ {"Buffy", luaopen_Buffy},
+ {"mod_ssl", luaopen_mod_ssl},
+ {"mod_crypt", luaopen_mod_crypt},
};
int i;
};
int i;
@@
-59,6
+65,10
@@
void luaM_shutdown(void)
lua_close(L);
}
lua_close(L);
}
+lua_State *luaM_getruntime(void)
+{
+ return L;
+}
int luaM_dofile(const char *filename)
{
int luaM_dofile(const char *filename)
{