summaryrefslogtreecommitdiff
path: root/src/bindings.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-01-03 16:49:58 -0600
committersanine <sanine.not@pm.me>2022-01-03 16:49:58 -0600
commit7db6401dfb0604e92946ac4f7c76d541498e6ebb (patch)
tree588bb7dd69a6a2d31c1fb57a105d308e5b690615 /src/bindings.h
parent5bc7d084ca129637e4782de5fc0c13be76ad27b8 (diff)
add scan_directory()
Diffstat (limited to 'src/bindings.h')
-rw-r--r--src/bindings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bindings.h b/src/bindings.h
index 3ee3a1a..853f0c0 100644
--- a/src/bindings.h
+++ b/src/bindings.h
@@ -5,4 +5,8 @@
int markdown(lua_State *L);
+// return two arrays, one containing filenames for all directories in the dir
+// and the other containing filenames for all regular files
+int scan_directory(lua_State *L);
+
#endif