diff options
author | Max Kellermann <max@duempel.org> | 2011-09-14 22:01:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-14 22:01:55 +0200 |
commit | dd33317f459f7dad954cb9d155a93339fe6d163c (patch) | |
tree | c0313532f3da6c858552d538ab25bf02fd830cf6 /src/input_stream.h | |
parent | c344d63fb38c5d5aec4ad11815762e7ba1a13a31 (diff) | |
download | mpd-dd33317f459f7dad954cb9d155a93339fe6d163c.tar.gz mpd-dd33317f459f7dad954cb9d155a93339fe6d163c.tar.xz mpd-dd33317f459f7dad954cb9d155a93339fe6d163c.zip |
input_stream: move input_stream_init(), _deinit() to _internal.c
Diffstat (limited to '')
-rw-r--r-- | src/input_stream.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/input_stream.h b/src/input_stream.h index 514512592..f9cb8dbf8 100644 --- a/src/input_stream.h +++ b/src/input_stream.h @@ -71,26 +71,6 @@ struct input_stream { char *mime; }; -static inline void -input_stream_init(struct input_stream *is, const struct input_plugin *plugin, - const char *uri) -{ - is->plugin = plugin; - is->uri = g_strdup(uri); - is->ready = false; - is->seekable = false; - is->size = -1; - is->offset = 0; - is->mime = NULL; -} - -static inline void -input_stream_deinit(struct input_stream *is) -{ - g_free(is->uri); - g_free(is->mime); -} - /** * Opens a new input stream. You may not access it until the "ready" * flag is set. |