From 5d73215a8dad922c8e383f3837f3ec9e26503389 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 11 Feb 2012 19:12:02 +0100 Subject: decoder_plugin: scan tags with callback table Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object. --- src/tag_ape.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/tag_ape.h') diff --git a/src/tag_ape.h b/src/tag_ape.h index eb0f1b8a..2e8bfb3c 100644 --- a/src/tag_ape.h +++ b/src/tag_ape.h @@ -20,6 +20,19 @@ #ifndef MPD_TAG_APE_H #define MPD_TAG_APE_H +#include + +struct tag_handler; + +/** + * Scan the APE tags of a file. + * + * @param path_fs the path of the file in filesystem encoding + */ +bool +tag_ape_scan2(const char *path_fs, + const struct tag_handler *handler, void *handler_ctx); + /** * Loads the APE tag from a file. * -- cgit v1.2.3