aboutsummaryrefslogtreecommitdiffstats
path: root/src/TagPrint.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-08 23:35:37 +0100
committerMax Kellermann <max@duempel.org>2014-01-08 23:35:37 +0100
commit8f9ba96c59f7d3563e1c3229675ecf7ad16fc334 (patch)
treea738b3a87920ec38bdacb2ecbe44e3ddd2492df7 /src/TagPrint.hxx
parent10406c73b385c7f536cb737d87680e691a80b508 (diff)
downloadmpd-8f9ba96c59f7d3563e1c3229675ecf7ad16fc334.tar.gz
mpd-8f9ba96c59f7d3563e1c3229675ecf7ad16fc334.tar.xz
mpd-8f9ba96c59f7d3563e1c3229675ecf7ad16fc334.zip
SongUpdate: move code to handle_lsinfo()
Don't create a temporary Song object in handle_lsinfo(). Instead, print all tags while parsing the remote file.
Diffstat (limited to 'src/TagPrint.hxx')
-rw-r--r--src/TagPrint.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/TagPrint.hxx b/src/TagPrint.hxx
index ccc0c9aa4..48ddc28ec 100644
--- a/src/TagPrint.hxx
+++ b/src/TagPrint.hxx
@@ -20,12 +20,19 @@
#ifndef MPD_TAG_PRINT_HXX
#define MPD_TAG_PRINT_HXX
+#include <stdint.h>
+
+enum TagType : uint8_t;
+
struct Tag;
class Client;
void tag_print_types(Client &client);
void
+tag_print(Client &client, TagType type, const char *value);
+
+void
tag_print(Client &client, const Tag &tag);
#endif