diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-03-02 22:50:38 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-03-02 22:50:38 +0000 |
| commit | 48dad47df98bdec632e8930b6a97359dc2c428f5 (patch) | |
| tree | 80d7abcad6052aec518df0a47788fb675ee3d195 | |
| parent | e002b9cfd0c94b77643859948649251fe67b7695 (diff) | |
| download | rockbox-48dad47df98bdec632e8930b6a97359dc2c428f5.zip rockbox-48dad47df98bdec632e8930b6a97359dc2c428f5.tar.gz rockbox-48dad47df98bdec632e8930b6a97359dc2c428f5.tar.bz2 rockbox-48dad47df98bdec632e8930b6a97359dc2c428f5.tar.xz | |
Added mkdir() to the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6103 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/plugin.c | 1 | ||||
| -rw-r--r-- | apps/plugin.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 86e4a25..38bc25b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -264,6 +264,7 @@ static const struct plugin_api rockbox_api = { cpu_boost, #endif #endif + PREFIX(mkdir), }; int plugin_load(const char* plugin, void* parameter) diff --git a/apps/plugin.h b/apps/plugin.h index 75da662..fdabdbd 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -69,7 +69,7 @@ #endif /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 34 +#define PLUGIN_API_VERSION 35 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -313,6 +313,7 @@ struct plugin_api { void (*cpu_boost)(bool on_off); #endif #endif + int (*PREFIX(mkdir))(const char *name, int mode); }; /* defined by the plugin loader (plugin.c) */ |