aboutsummaryrefslogtreecommitdiff
path: root/src/tag_ape.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-11 19:12:02 +0100
committerMax Kellermann <max@duempel.org>2012-02-11 17:04:29 +0100
commit5d73215a8dad922c8e383f3837f3ec9e26503389 (patch)
tree8fc4b96d93a907054a05d3250f97bf4f68c6df85 /src/tag_ape.h
parentb7356bc526dbbd6fa00d40caff2addec10ae7c7e (diff)
decoder_plugin: scan tags with callback table
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
Diffstat (limited to 'src/tag_ape.h')
-rw-r--r--src/tag_ape.h13
1 files changed, 13 insertions, 0 deletions
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 <stdbool.h>
+
+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.
*