diff options
author | Max Kellermann <max@duempel.org> | 2013-10-23 22:08:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-23 23:12:02 +0200 |
commit | 93deb844996120b6326345d6d87e803142dd1968 (patch) | |
tree | d6c00669efffad1b15fc45e03158d6838a7e5827 /src/input/DespotifyInputPlugin.cxx | |
parent | c4d4011c63808a64ca20a4b03fd455a83c23cc33 (diff) | |
download | mpd-93deb844996120b6326345d6d87e803142dd1968.tar.gz mpd-93deb844996120b6326345d6d87e803142dd1968.tar.xz mpd-93deb844996120b6326345d6d87e803142dd1968.zip |
input_stream: rename struct to InputStream
Diffstat (limited to '')
-rw-r--r-- | src/input/DespotifyInputPlugin.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/input/DespotifyInputPlugin.cxx b/src/input/DespotifyInputPlugin.cxx index 6fc408de9..5476b41fd 100644 --- a/src/input/DespotifyInputPlugin.cxx +++ b/src/input/DespotifyInputPlugin.cxx @@ -38,7 +38,7 @@ extern "C" { #include <stdio.h> struct DespotifyInputStream { - struct input_stream base; + InputStream base; struct despotify_session *session; struct ds_track *track; @@ -121,7 +121,7 @@ static void callback(gcc_unused struct despotify_session* ds, } -static struct input_stream * +static InputStream * input_despotify_open(const char *url, Mutex &mutex, Cond &cond, gcc_unused Error &error) @@ -171,7 +171,7 @@ input_despotify_open(const char *url, } static size_t -input_despotify_read(struct input_stream *is, void *ptr, size_t size, +input_despotify_read(InputStream *is, void *ptr, size_t size, gcc_unused Error &error) { DespotifyInputStream *ctx = (DespotifyInputStream *)is; @@ -191,7 +191,7 @@ input_despotify_read(struct input_stream *is, void *ptr, size_t size, } static void -input_despotify_close(struct input_stream *is) +input_despotify_close(InputStream *is) { DespotifyInputStream *ctx = (DespotifyInputStream *)is; @@ -200,7 +200,7 @@ input_despotify_close(struct input_stream *is) } static bool -input_despotify_eof(struct input_stream *is) +input_despotify_eof(InputStream *is) { DespotifyInputStream *ctx = (DespotifyInputStream *)is; @@ -208,7 +208,7 @@ input_despotify_eof(struct input_stream *is) } static Tag * -input_despotify_tag(struct input_stream *is) +input_despotify_tag(InputStream *is) { DespotifyInputStream *ctx = (DespotifyInputStream *)is; Tag *tag = ctx->tag; |