memcmp() added to the plugin API

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5949 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2005-02-15 13:03:29 +00:00
parent 81395dbb7d
commit aac6e7d24e
2 changed files with 3 additions and 2 deletions

View file

@ -265,6 +265,7 @@ static const struct plugin_api rockbox_api = {
strchr,
strcat,
memcmp
};
int plugin_load(const char* plugin, void* parameter)

View file

@ -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) */