summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 2e0ace2e48..1c3c59c6cc 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -156,7 +156,7 @@ int plugin_open(const char *plugin, const char *parameter);
156#define PLUGIN_MAGIC 0x526F634B /* RocK */ 156#define PLUGIN_MAGIC 0x526F634B /* RocK */
157 157
158/* increase this every time the api struct changes */ 158/* increase this every time the api struct changes */
159#define PLUGIN_API_VERSION 249 159#define PLUGIN_API_VERSION 250
160 160
161/* update this to latest version if a change to the api struct breaks 161/* update this to latest version if a change to the api struct breaks
162 backwards compatibility (and please take the opportunity to sort in any 162 backwards compatibility (and please take the opportunity to sort in any
@@ -937,6 +937,9 @@ struct plugin_api {
937 void (*queue_remove_from_head)(struct event_queue *q, long id); 937 void (*queue_remove_from_head)(struct event_queue *q, long id);
938 int (*core_set_keyremap)(struct button_mapping* core_keymap, int count); 938 int (*core_set_keyremap)(struct button_mapping* core_keymap, int count);
939 size_t (*plugin_reserve_buffer)(size_t buffer_size); 939 size_t (*plugin_reserve_buffer)(size_t buffer_size);
940 int (*path_strip_volume)(const char *name, const char **nameptr, bool greedy);
941 void (*sys_poweroff)(void);
942 void (*sys_reboot)(void);
940}; 943};
941 944
942/* plugin header */ 945/* plugin header */