From d87b037efe7d001902c0cde992e1633ff9f70061 Mon Sep 17 00:00:00 2001 From: Robert Kukla Date: Wed, 21 Nov 2007 21:28:27 +0000 Subject: 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 --- apps/plugin.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 */ -- cgit v1.1