diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-10-03 11:24:55 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-10-03 11:24:55 +0000 |
commit | 2d1ff6cc27446511b856ef9f50b09c644bcbb08e (patch) | |
tree | be009d23081990d5b45b8c845073f051d2955b15 /apps/fileutils.h | |
parent | 7ae8e44c9556daa07813a3bfd1ace6b0fb0a2aa8 (diff) | |
download | rockbox-2d1ff6cc27446511b856ef9f50b09c644bcbb08e.tar.gz rockbox-2d1ff6cc27446511b856ef9f50b09c644bcbb08e.zip |
oops, these two files shouldnt have been commited.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11115 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/fileutils.h')
-rw-r--r-- | apps/fileutils.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/apps/fileutils.h b/apps/fileutils.h deleted file mode 100644 index 4377c1436c..0000000000 --- a/apps/fileutils.h +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 Jonathan Gordon | ||
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 _FILEUTILS_H_ | ||
21 | #define _FILEUTILS_H_ | ||
22 | |||
23 | enum { | ||
24 | DIRWALKER_ERROR = -1, | ||
25 | DIRWALKER_OK = 0, | ||
26 | DIRWALKER_IGNORE, /* only valid from folder callback */ | ||
27 | DIRWALKER_LEAVEDIR, /* only valid from file callback */ | ||
28 | DIRWALKER_QUIT | ||
29 | }; | ||
30 | |||
31 | enum { | ||
32 | DIRWALKER_RETURN_ERROR = -1, | ||
33 | DIRWALKER_RETURN_SUCCESS, | ||
34 | DIRWALKER_RETURN_FORCED | ||
35 | }; | ||
36 | |||
37 | int dirwalker(const char *start_dir, bool recurse, bool is_forward, | ||
38 | int (*folder_callback)(const char* dir, void *param),void* folder_param, | ||
39 | int (*file_callback)(const char* folder,const char* file, | ||
40 | const int file_attr,void *param),void* file_param); | ||
41 | |||
42 | #endif /* _FILEUTILS_H_ */ | ||