diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 227fe5ccbb..ade7f1584b 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -95,6 +95,7 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
95 | #include "ata_idle_notify.h" | 95 | #include "ata_idle_notify.h" |
96 | #include "settings_list.h" | 96 | #include "settings_list.h" |
97 | #include "timefuncs.h" | 97 | #include "timefuncs.h" |
98 | #include "crc32.h" | ||
98 | 99 | ||
99 | #ifdef HAVE_ALBUMART | 100 | #ifdef HAVE_ALBUMART |
100 | #include "albumart.h" | 101 | #include "albumart.h" |
@@ -134,7 +135,7 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
134 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 135 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
135 | 136 | ||
136 | /* increase this every time the api struct changes */ | 137 | /* increase this every time the api struct changes */ |
137 | #define PLUGIN_API_VERSION 174 | 138 | #define PLUGIN_API_VERSION 175 |
138 | 139 | ||
139 | /* update this to latest version if a change to the api struct breaks | 140 | /* update this to latest version if a change to the api struct breaks |
140 | backwards compatibility (and please take the opportunity to sort in any | 141 | backwards compatibility (and please take the opportunity to sort in any |
@@ -848,6 +849,7 @@ struct plugin_api { | |||
848 | size_t duration, | 849 | size_t duration, |
849 | int amplitude); | 850 | int amplitude); |
850 | #endif | 851 | #endif |
852 | unsigned (*crc_32)(const void *src, unsigned len, unsigned crc32); | ||
851 | }; | 853 | }; |
852 | 854 | ||
853 | /* plugin header */ | 855 | /* plugin header */ |