From 7db6401dfb0604e92946ac4f7c76d541498e6ebb Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 3 Jan 2022 16:49:58 -0600 Subject: add scan_directory() --- src/bindings.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/bindings.h') 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 -- cgit v1.2.1