summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-16 12:59:19 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-16 12:59:19 +0000
commit06a2ffd962fe4971ce9b2b1845f1c62d1927fadd (patch)
tree2a5ddcb1cb7060efd33464071ccba2ebe25aa402 /apps/plugin.h
parent8e7e35c510e79388484798bb5267c9596abcae95 (diff)
Added settings_parseline() and strcmp() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4889 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index ace963c905..659e6dbda3 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -60,7 +60,7 @@
#endif
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 20
+#define PLUGIN_API_VERSION 21
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -287,6 +287,8 @@ struct plugin_api {
void (*lcd_put_cursor)(int x, int y, char cursor_char);
void (*lcd_remove_cursor)(void);
#endif
+ bool (*settings_parseline)(char* line, char** name, char** value);
+ int (*strcmp)(const char *, const char *);
};
/* defined by the plugin loader (plugin.c) */