diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-18 13:10:14 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-18 13:10:14 +0000 |
commit | bfd8d023db7b6be9dff11a781372c382a27e053b (patch) | |
tree | 08e4ded33ef099cbb3063a29573d9d78c93f27bf /apps/plugins/lua/luadir.h | |
parent | d8cef9c0789427a1f5b0cac1a4601a96d9cf1c78 (diff) | |
download | rockbox-bfd8d023db7b6be9dff11a781372c382a27e053b.tar.gz rockbox-bfd8d023db7b6be9dff11a781372c382a27e053b.zip |
FS#11347 by me: *dir LUA functions: luadir module
mkdir and rmdir are now in this module and not in the rockbox API
implements the 'dir' iterator to browse directories
Based on LuaFileSystem : http://www.keplerproject.org/luafilesystem
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26913 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/luadir.h')
-rw-r--r-- | apps/plugins/lua/luadir.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/lua/luadir.h b/apps/plugins/lua/luadir.h new file mode 100644 index 0000000000..80c3c3b92f --- /dev/null +++ b/apps/plugins/lua/luadir.h | |||
@@ -0,0 +1,9 @@ | |||
1 | /* | ||
2 | ** LuaFileSystem | ||
3 | ** Copyright Kepler Project 2003 (http://www.keplerproject.org/luafilesystem) | ||
4 | ** | ||
5 | ** $Id: lfs.h,v 1.5 2008/02/19 20:08:23 mascarenhas Exp $ | ||
6 | */ | ||
7 | |||
8 | int luaopen_luadir (lua_State *L); | ||
9 | #define LUA_DIRLIBNAME "luadir" | ||