summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 01ace98690..5cc9c1b58a 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -89,12 +89,12 @@
89#endif 89#endif
90 90
91/* increase this every time the api struct changes */ 91/* increase this every time the api struct changes */
92#define PLUGIN_API_VERSION 50 92#define PLUGIN_API_VERSION 51
93 93
94/* update this to latest version if a change to the api struct breaks 94/* update this to latest version if a change to the api struct breaks
95 backwards compatibility (and please take the opportunity to sort in any 95 backwards compatibility (and please take the opportunity to sort in any
96 new function which are "waiting" at the end of the function table) */ 96 new function which are "waiting" at the end of the function table) */
97#define PLUGIN_MIN_API_VERSION 50 97#define PLUGIN_MIN_API_VERSION 51
98 98
99/* plugin return codes */ 99/* plugin return codes */
100enum plugin_status { 100enum plugin_status {
@@ -404,9 +404,9 @@ struct plugin_api {
404 bool (*mp3info)(struct mp3entry *entry, const char *filename, bool v1first); 404 bool (*mp3info)(struct mp3entry *entry, const char *filename, bool v1first);
405 int (*count_mp3_frames)(int fd, int startpos, int filesize, 405 int (*count_mp3_frames)(int fd, int startpos, int filesize,
406 void (*progressfunc)(int)); 406 void (*progressfunc)(int));
407 int (*create_xing_header)(int fd, int startpos, int filesize, 407 int (*create_xing_header)(int fd, long startpos, long filesize,
408 unsigned char *buf, int num_frames, 408 unsigned char *buf, unsigned long num_frames,
409 unsigned long header_template, 409 unsigned long rec_time, unsigned long header_template,
410 void (*progressfunc)(int), bool generate_toc); 410 void (*progressfunc)(int), bool generate_toc);
411 unsigned long (*find_next_frame)(int fd, long *offset, 411 unsigned long (*find_next_frame)(int fd, long *offset,
412 long max_offset, unsigned long last_header); 412 long max_offset, unsigned long last_header);