forked from len0rd/rockbox
Added strcasecmp() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4925 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a17df38de7
commit
c051eda028
3 changed files with 5 additions and 13 deletions
|
@ -60,7 +60,7 @@
|
|||
#endif
|
||||
|
||||
/* increase this every time the api struct changes */
|
||||
#define PLUGIN_API_VERSION 22
|
||||
#define PLUGIN_API_VERSION 23
|
||||
|
||||
/* update this to latest version if a change to the api struct breaks
|
||||
backwards compatibility (and please take the opportunity to sort in any
|
||||
|
@ -292,6 +292,7 @@ struct plugin_api {
|
|||
int (*button_status)(void);
|
||||
void (*button_clear_queue)(void);
|
||||
char *(*strncpy)(char *dst, const char *src, size_t length);
|
||||
int (*strcasecmp)(const char *, const char *);
|
||||
};
|
||||
|
||||
/* defined by the plugin loader (plugin.c) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue