diff options
| author | Robert Kukla <roolku@rockbox.org> | 2007-11-21 21:28:27 +0000 |
|---|---|---|
| committer | Robert Kukla <roolku@rockbox.org> | 2007-11-21 21:28:27 +0000 |
| commit | d87b037efe7d001902c0cde992e1633ff9f70061 (patch) | |
| tree | ddea298e51d73443aad0d31fca7d59311444efab /apps/misc.h | |
| parent | a2ad8537af659972b2e859c99c0ff75e374b73f9 (diff) | |
| download | rockbox-d87b037efe7d001902c0cde992e1633ff9f70061.zip rockbox-d87b037efe7d001902c0cde992e1633ff9f70061.tar.gz rockbox-d87b037efe7d001902c0cde992e1633ff9f70061.tar.bz2 rockbox-d87b037efe7d001902c0cde992e1633ff9f70061.tar.xz | |
consolidate the 3 file_exists() functions into one; use the version that explicitly uses dircache; give dir_exists() the same treatment for consistency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15742 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
| -rw-r--r-- | apps/misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h index ab0e592..590ccf0 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -115,4 +115,8 @@ int hex_to_rgb(const char* hex); char* strrsplt(char* str, int c); +bool file_exists(const char *file); +bool dir_exists(const char *path); + + #endif /* MISC_H */ |