From 93deb844996120b6326345d6d87e803142dd1968 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 23 Oct 2013 22:08:59 +0200 Subject: input_stream: rename struct to InputStream --- src/InputStream.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/InputStream.hxx') diff --git a/src/InputStream.hxx b/src/InputStream.hxx index 343f3277c..b1bc9c4ab 100644 --- a/src/InputStream.hxx +++ b/src/InputStream.hxx @@ -34,7 +34,7 @@ class Error; struct Tag; struct InputPlugin; -struct input_stream { +struct InputStream { typedef int64_t offset_type; /** @@ -93,8 +93,8 @@ struct input_stream { */ std::string mime; - input_stream(const InputPlugin &_plugin, - const char *_uri, Mutex &_mutex, Cond &_cond) + InputStream(const InputPlugin &_plugin, + const char *_uri, Mutex &_mutex, Cond &_cond) :plugin(_plugin), uri(_uri), mutex(_mutex), cond(_cond), ready(false), seekable(false), @@ -111,12 +111,12 @@ struct input_stream { * @param cond a cond that gets signalled when the state of * this object changes; may be nullptr if the caller doesn't want to get * notifications - * @return an #input_stream object on success, nullptr on error + * @return an #InputStream object on success, nullptr on error */ gcc_nonnull_all gcc_malloc - static input_stream *Open(const char *uri, Mutex &mutex, Cond &cond, - Error &error); + static InputStream *Open(const char *uri, Mutex &mutex, Cond &cond, + Error &error); /** * Close the input stream and free resources. @@ -273,7 +273,7 @@ struct input_stream { * * The caller must lock the mutex. * - * @param is the input_stream object + * @param is the InputStream object * @param ptr the buffer to read into * @param size the maximum number of bytes to read * @return the number of bytes read -- cgit v1.2.3