aboutsummaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
authorame <[email protected]>2023-12-04 01:04:57 -0600
committerame <[email protected]>2023-12-04 01:04:57 -0600
commit0cb307c50930d9aba2b1a6af46c1da75943778d3 (patch)
tree054f19eb9afeb242539cdf17bbed77898220c0cc /src/io.h
parent7eb07ccdca178abffe5ffccf686b4f818db3601d (diff)
crypto stuff and (some) file io
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h
new file mode 100644
index 0000000..ccfe5cc
--- /dev/null
+++ b/src/io.h
@@ -0,0 +1,8 @@
+#include "lua.h"
+
+int l_readfile(lua_State*);
+
+static const luaL_Reg io_function_list [] = {
+ {"readfile",l_readfile},
+ {NULL,NULL}
+};