aboutsummaryrefslogtreecommitdiffstats
path: root/src/IcyMetaDataParser.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-05-11 15:32:47 +0200
committerMax Kellermann <max@duempel.org>2014-05-21 18:47:49 +0200
commita5d0300787137ec3509956f3ed3fdf0e8656eff6 (patch)
tree88159211e7a37482b9a422765b721cff3acfd73b /src/IcyMetaDataParser.hxx
parent09b84c51ee1671e770062bf6148ad65afee6073a (diff)
downloadmpd-a5d0300787137ec3509956f3ed3fdf0e8656eff6.tar.gz
mpd-a5d0300787137ec3509956f3ed3fdf0e8656eff6.tar.xz
mpd-a5d0300787137ec3509956f3ed3fdf0e8656eff6.zip
input/curl: move code to IcyInputStream
Diffstat (limited to 'src/IcyMetaDataParser.hxx')
-rw-r--r--src/IcyMetaDataParser.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/IcyMetaDataParser.hxx b/src/IcyMetaDataParser.hxx
index 4956a9904..3075485b2 100644
--- a/src/IcyMetaDataParser.hxx
+++ b/src/IcyMetaDataParser.hxx
@@ -75,6 +75,13 @@ public:
*/
size_t Meta(const void *data, size_t length);
+ /**
+ * Parse data and eliminate metadata.
+ *
+ * @return the number of data bytes remaining in the buffer
+ */
+ size_t ParseInPlace(void *data, size_t length);
+
Tag *ReadTag() {
Tag *result = tag;
tag = nullptr;