summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 8ce6faffb9..2fb085de6d 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -153,12 +153,12 @@ void* plugin_get_buffer(size_t *buffer_size);
153#define PLUGIN_MAGIC 0x526F634B /* RocK */ 153#define PLUGIN_MAGIC 0x526F634B /* RocK */
154 154
155/* increase this every time the api struct changes */ 155/* increase this every time the api struct changes */
156#define PLUGIN_API_VERSION 215 156#define PLUGIN_API_VERSION 216
157 157
158/* update this to latest version if a change to the api struct breaks 158/* update this to latest version if a change to the api struct breaks
159 backwards compatibility (and please take the opportunity to sort in any 159 backwards compatibility (and please take the opportunity to sort in any
160 new function which are "waiting" at the end of the function table) */ 160 new function which are "waiting" at the end of the function table) */
161#define PLUGIN_MIN_API_VERSION 214 161#define PLUGIN_MIN_API_VERSION 216
162 162
163/* plugin return codes */ 163/* plugin return codes */
164/* internal returns start at 0x100 to make exit(1..255) work */ 164/* internal returns start at 0x100 to make exit(1..255) work */
@@ -521,6 +521,7 @@ struct plugin_api {
521 521
522 void (*commit_dcache)(void); 522 void (*commit_dcache)(void);
523 void (*commit_discard_dcache)(void); 523 void (*commit_discard_dcache)(void);
524 void (*commit_discard_idcache)(void);
524 525
525 /* load code api for overlay */ 526 /* load code api for overlay */
526 void* (*lc_open)(const char *filename, unsigned char *buf, size_t buf_size); 527 void* (*lc_open)(const char *filename, unsigned char *buf, size_t buf_size);
@@ -952,8 +953,6 @@ struct plugin_api {
952 953
953 /* new stuff at the end, sort into place next time 954 /* new stuff at the end, sort into place next time
954 the API gets incompatible */ 955 the API gets incompatible */
955
956 void (*commit_discard_idcache)(void);
957}; 956};
958 957
959/* plugin header */ 958/* plugin header */