summaryrefslogtreecommitdiff
path: root/firmware/common/dir.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-04-27 23:31:23 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-04-27 23:31:23 +0000
commit0e2a5a69bda4d793f08db2e76f3957b70d94bbcf (patch)
tree5466869c15d09a7715a89526c70b9fecfae9ee4d /firmware/common/dir.h
parent21594a4e2ab41d421df9da78505c954ff283f6a3 (diff)
downloadrockbox-0e2a5a69bda4d793f08db2e76f3957b70d94bbcf.tar.gz
rockbox-0e2a5a69bda4d793f08db2e76f3957b70d94bbcf.zip
File and directory APIs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@278 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/dir.h')
-rw-r--r--firmware/common/dir.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h
new file mode 100644
index 0000000000..83d4bfec98
--- /dev/null
+++ b/firmware/common/dir.h
@@ -0,0 +1,34 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Björn Stenberg
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef _DIR_H_
21#define _DIR_H_
22
23typdef struct {
24 int offset;
25} DIR;
26
27struct dirent {
28 int d_name[256];
29};
30
31extern DIR* opendir(char* name);
32extern struct dirent* readdir(DIR* dir);
33
34#endif