summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2007-11-21 21:28:27 +0000
committerRobert Kukla <roolku@rockbox.org>2007-11-21 21:28:27 +0000
commitd87b037efe7d001902c0cde992e1633ff9f70061 (patch)
treeddea298e51d73443aad0d31fca7d59311444efab /apps/plugin.h
parenta2ad8537af659972b2e859c99c0ff75e374b73f9 (diff)
downloadrockbox-d87b037efe7d001902c0cde992e1633ff9f70061.tar.gz
rockbox-d87b037efe7d001902c0cde992e1633ff9f70061.zip
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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 9123af44ec..0aacd4e5fa 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -113,7 +113,7 @@
113#define PLUGIN_MAGIC 0x526F634B /* RocK */ 113#define PLUGIN_MAGIC 0x526F634B /* RocK */
114 114
115/* increase this every time the api struct changes */ 115/* increase this every time the api struct changes */
116#define PLUGIN_API_VERSION 89 116#define PLUGIN_API_VERSION 90
117 117
118/* update this to latest version if a change to the api struct breaks 118/* update this to latest version if a change to the api struct breaks
119 backwards compatibility (and please take the opportunity to sort in any 119 backwards compatibility (and please take the opportunity to sort in any
@@ -645,6 +645,10 @@ struct plugin_api {
645#ifdef PROC_NEEDS_CACHEALIGN 645#ifdef PROC_NEEDS_CACHEALIGN
646 size_t (*align_buffer)(void **start, size_t size, size_t align); 646 size_t (*align_buffer)(void **start, size_t size, size_t align);
647#endif 647#endif
648
649 bool (*file_exists)(const char *file);
650 bool (*dir_exists)(const char *path);
651
648}; 652};
649 653
650/* plugin header */ 654/* plugin header */