00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef MPD_TAG_ID3_H
00021 #define MPD_TAG_ID3_H
00022
00023 #include "check.h"
00024
00025 #include <glib.h>
00026
00027 #include <stdbool.h>
00028
00029 struct tag_handler;
00030 struct tag;
00031
00032 #ifdef HAVE_ID3TAG
00033
00034 bool
00035 tag_id3_scan(const char *path_fs,
00036 const struct tag_handler *handler, void *handler_ctx);
00037
00038 struct id3_tag;
00039 struct tag *tag_id3_import(struct id3_tag *);
00040
00048 struct id3_tag *
00049 tag_id3_load(const char *path_fs, GError **error_r);
00050
00051 #else
00052
00053 static inline bool
00054 tag_id3_scan(G_GNUC_UNUSED const char *path_fs,
00055 G_GNUC_UNUSED const struct tag_handler *handler,
00056 G_GNUC_UNUSED void *handler_ctx)
00057 {
00058 return false;
00059 }
00060
00061 #endif
00062
00063 #endif