summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 7e5f4866cf..413caf87a1 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -257,6 +257,7 @@ static const struct plugin_api rockbox_api = {
257 button_clear_queue, 257 button_clear_queue,
258 strncpy, 258 strncpy,
259 strcasecmp, 259 strcasecmp,
260 default_event_handler
260}; 261};
261 262
262int plugin_load(char* plugin, void* parameter) 263int plugin_load(char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index 1ed2a9baef..74700879b4 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -60,7 +60,7 @@
60#endif 60#endif
61 61
62/* increase this every time the api struct changes */ 62/* increase this every time the api struct changes */
63#define PLUGIN_API_VERSION 23 63#define PLUGIN_API_VERSION 24
64 64
65/* update this to latest version if a change to the api struct breaks 65/* update this to latest version if a change to the api struct breaks
66 backwards compatibility (and please take the opportunity to sort in any 66 backwards compatibility (and please take the opportunity to sort in any
@@ -293,6 +293,7 @@ struct plugin_api {
293 void (*button_clear_queue)(void); 293 void (*button_clear_queue)(void);
294 char *(*strncpy)(char *dst, const char *src, size_t length); 294 char *(*strncpy)(char *dst, const char *src, size_t length);
295 int (*strcasecmp)(const char *, const char *); 295 int (*strcasecmp)(const char *, const char *);
296 int (*default_event_handler)(int event);
296}; 297};
297 298
298/* defined by the plugin loader (plugin.c) */ 299/* defined by the plugin loader (plugin.c) */