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
commit7832bc32b4933696e7a34b180bbba46b0c98b858 (patch)
tree054f19eb9afeb242539cdf17bbed77898220c0cc /src/io.h
parentb224d2f0b9b344a08c6c508d61f15bdf205464f8 (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}
+};