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/plugin.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/plugin.h')
| -rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 9123af4..0aacd4e 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -113,7 +113,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 89 +#define PLUGIN_API_VERSION 90 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -645,6 +645,10 @@ struct plugin_api { #ifdef PROC_NEEDS_CACHEALIGN size_t (*align_buffer)(void **start, size_t size, size_t align); #endif + + bool (*file_exists)(const char *file); + bool (*dir_exists)(const char *path); + }; /* plugin header */ |