about summary refs log tree commit diff stats
path: root/src/lualib.h
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-21 15:07:17 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-21 15:07:42 -0800
commit3b44b9827d5e9c6554c5600c45d832d4e6eb50f8 (patch)
treee2fc984be141e2e4fa18fceae6c73814d23c5646 /src/lualib.h
parentf7ab5dd291f302c0fb97a2be0a11a06ed2bb6661 (diff)
downloadteliva-3b44b9827d5e9c6554c5600c45d832d4e6eb50f8.tar.gz
basic http requests starting to work
In the process we're starting to load almost all of luasocket by
default. And everything is working as expected, no unpleasant surprises.
Diffstat (limited to 'src/lualib.h')
-rw-r--r--src/lualib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lualib.h b/src/lualib.h
index 8654480..0fcd07c 100644
--- a/src/lualib.h
+++ b/src/lualib.h
@@ -39,6 +39,9 @@ LUALIB_API int (luaopen_curses) (lua_State *L);
 #define LUA_SOCKETCORELIBNAME	"socket"
 LUALIB_API int (luaopen_socket_core) (lua_State *L);
 
+#define LUA_MIMECORELIBNAME	"mime"
+LUALIB_API int (luaopen_mime_core) (lua_State *L);
+
 #define LUA_DBLIBNAME	"debug"
 LUALIB_API int (luaopen_debug) (lua_State *L);