we don't want this warning, as it is default now, and that some people may
[apps/madmutt.git] / lib-lua / lib-lua.h
index 862b6b5..c4e981f 100644 (file)
@@ -28,6 +28,7 @@
 #include <lualib.h>
 #include <lauxlib.h>
 
+#include <lib-mime/mime-types.h>
 #include "lua-token.h"
 
 /* possible arguments to set_quadoption() */
@@ -41,15 +42,20 @@ typedef enum quadopt_t {
 void luaM_initialize(void);
 void luaM_shutdown(void);
 
+lua_State *luaM_getruntime(void);
+
 int luaM_dofile(const char *filename);
 int luaM_wrap(void (*errfun)(const char *fmt, ...)
               __attribute__((format(printf, 1, 2))),
               int status);
 
 quadopt_t luaM_checkquadopt(lua_State *L, int narg);
+void luaM_pushquadopt(lua_State *Ls, int val);
+
 const char *luaM_checkrx(lua_State *Ls, int narg);
-char *luaM_pathnew(const char *val);
 rx_t *luaM_rxnew(const char* val);
+char *luaM_pathnew(const char *val);
+void luaM_pushaddr(lua_State *Ls, address_t *addr);
 
 #include "madmutt.li"