aboutsummaryrefslogtreecommitdiff
path: root/gen/libraries.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gen/libraries.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/gen/libraries.h b/gen/libraries.h
new file mode 100644
index 00000000..696a2c32
--- /dev/null
+++ b/gen/libraries.h
@@ -0,0 +1,51 @@
1/* automatically generated by bootstrap.tl */
2
3extern int luaopen_des56(lua_State* L);
4extern int luaopen_md5_core(lua_State* L);
5extern int luaopen_zlib(lua_State* L);
6extern int luaopen_bz2(lua_State* L);
7extern int luaopen_lfs(lua_State* L);
8extern int luaopen_mime_core(lua_State* L);
9extern int luaopen_socket_core(lua_State* L);
10extern int luaopen_socket_serial(lua_State* L);
11extern int luaopen_socket_unix(lua_State* L);
12extern int luaopen_ssl_core(lua_State* L);
13extern int luaopen_ssl_context(lua_State* L);
14extern int luaopen_ssl_x509(lua_State* L);
15extern int luaopen_ssl_config(lua_State* L);
16extern int luaopen_miniposix(lua_State* L);
17
18static void declare_libraries(lua_State* L) {
19 lua_getglobal(L, "package"); /* package */
20 lua_getfield(L, -1, "preload"); /* package package.preload */
21 lua_pushcfunction(L, luaopen_des56);
22 lua_setfield(L, -2, "des56");
23 lua_pushcfunction(L, luaopen_md5_core);
24 lua_setfield(L, -2, "md5.core");
25 lua_pushcfunction(L, luaopen_zlib);
26 lua_setfield(L, -2, "zlib");
27 lua_pushcfunction(L, luaopen_bz2);
28 lua_setfield(L, -2, "bz2");
29 lua_pushcfunction(L, luaopen_lfs);
30 lua_setfield(L, -2, "lfs");
31 lua_pushcfunction(L, luaopen_mime_core);
32 lua_setfield(L, -2, "mime.core");
33 lua_pushcfunction(L, luaopen_socket_core);
34 lua_setfield(L, -2, "socket.core");
35 lua_pushcfunction(L, luaopen_socket_serial);
36 lua_setfield(L, -2, "socket.serial");
37 lua_pushcfunction(L, luaopen_socket_unix);
38 lua_setfield(L, -2, "socket.unix");
39 lua_pushcfunction(L, luaopen_ssl_core);
40 lua_setfield(L, -2, "ssl.core");
41 lua_pushcfunction(L, luaopen_ssl_context);
42 lua_setfield(L, -2, "ssl.context");
43 lua_pushcfunction(L, luaopen_ssl_x509);
44 lua_setfield(L, -2, "ssl.x509");
45 lua_pushcfunction(L, luaopen_ssl_config);
46 lua_setfield(L, -2, "ssl.config");
47 lua_pushcfunction(L, luaopen_miniposix);
48 lua_setfield(L, -2, "miniposix");
49 lua_settop(L, 0); /* */
50}
51