summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-15 13:03:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-15 13:03:29 +0000
commitaac6e7d24e94ddd2c2f6d547bddc579876aa35e3 (patch)
tree6e7ef341d7a03a0bc724cd04e14c0995b63dc277 /apps/plugin.h
parent81395dbb7d07717a2f1d3c784156db579035f771 (diff)
downloadrockbox-aac6e7d24e94ddd2c2f6d547bddc579876aa35e3.zip
rockbox-aac6e7d24e94ddd2c2f6d547bddc579876aa35e3.tar.gz
rockbox-aac6e7d24e94ddd2c2f6d547bddc579876aa35e3.tar.bz2
rockbox-aac6e7d24e94ddd2c2f6d547bddc579876aa35e3.tar.xz
memcmp() added to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5949 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 0d1a9b2..3b8d022 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 30
+#define PLUGIN_API_VERSION 31
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -300,7 +300,7 @@ struct plugin_api {
char *(*strchr)(const char *s, int c);
char *(*strcat)(char *s1, const char *s2);
-
+ int (*memcmp)(const void *s1, const void *s2, size_t n);
};
/* defined by the plugin loader (plugin.c) */